[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v8 14/17] Add the vhost-user netdev backend to t
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v8 14/17] Add the vhost-user netdev backend to the command line |
Date: |
Mon, 17 Feb 2014 10:17:47 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
On 02/13/2014 05:03 AM, Antonios Motakis wrote:
> The supplied chardev id will be inspected for supported options. Only
> a socket backend, with a set path (i.e. a Unix socket) and optionally
> the server parameter set, will be allowed. Other options (nowait, telnet)
> will make the chardev unusable and the netdev will not be initialised.
>
> Additional checks for validity:
> - requires `-mempath ...,share=on`
> - requires `-device virtio-net-*`
>
> The `vhostforce` option is uset to force vhost-net when we deal with no-MSIX
> guest.
>
> Signed-off-by: Antonios Motakis <address@hidden>
> Signed-off-by: Nikolay Nikolaev <address@hidden>
> ---
QMP review only:
> +++ b/qapi-schema.json
> @@ -3104,6 +3104,22 @@
> '*devname': 'str' } }
>
> ##
> +# @NetdevVhostUserOptions
> +#
> +# Vhost-user network backend
> +#
> +# @path: control socket path
> +#
> +# @vhostforce: #optional vhost on for non-MSIX virtio guests
What's the default value when this is omitted?
> +#
> +# Since 2.0
> +##
> +{ 'type': 'NetdevVhostUserOptions',
> + 'data': {
> + 'chardev': 'str',
> + '*vhostforce': 'bool' } }
Kill the TABs. The rest of this file uses spaces.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v8 05/17] Add G_IO_HUP handler for socket chardev, (continued)
- [Qemu-devel] [PATCH v8 05/17] Add G_IO_HUP handler for socket chardev, Antonios Motakis, 2014/02/13
- [Qemu-devel] [PATCH v8 06/17] vhost_net should call the poll callback only when it is set, Antonios Motakis, 2014/02/13
- [Qemu-devel] [PATCH v8 07/17] Refactor virtio-net to use generic get_vhost_net, Antonios Motakis, 2014/02/13
- [Qemu-devel] [PATCH v8 08/17] vhost_net_init will use VhostNetOptions to get all its arguments, Antonios Motakis, 2014/02/13
- [Qemu-devel] [PATCH v8 09/17] Add vhost_ops to vhost_dev struct and replace all relevant ioctls, Antonios Motakis, 2014/02/13
- [Qemu-devel] [PATCH v8 10/17] Add mandatory_features to vhost_dev, Antonios Motakis, 2014/02/13
- [Qemu-devel] [PATCH v8 11/17] Add vhost-backend and VhostBackendType, Antonios Motakis, 2014/02/13
- [Qemu-devel] [PATCH v8 12/17] Add vhost-user as a vhost backend, Antonios Motakis, 2014/02/13
- [Qemu-devel] [PATCH v8 13/17] Add new vhost-user netdev backend, Antonios Motakis, 2014/02/13
- [Qemu-devel] [PATCH v8 14/17] Add the vhost-user netdev backend to the command line, Antonios Motakis, 2014/02/13
- Re: [Qemu-devel] [PATCH v8 14/17] Add the vhost-user netdev backend to the command line,
Eric Blake <=
- [Qemu-devel] [PATCH v8 15/17] Add vhost-user protocol documentation, Antonios Motakis, 2014/02/13
- [Qemu-devel] [PATCH v8 16/17] libqemustub: add stubs to be able to use qemu-char.c, Antonios Motakis, 2014/02/13
- [Qemu-devel] [PATCH v8 17/17] Add qtest for vhost-user, Antonios Motakis, 2014/02/13
- Re: [Qemu-devel] [PATCH v8 00/17] Vhost and vhost-net support for userspace based backends, Michael S. Tsirkin, 2014/02/26