diff mbox

net: Add the missing option declaration of "vhostforce"

Message ID 20110225081126.6224.57164.stgit@dhcp-91-7.nay.redhat.com.englab.nay.redhat.com
State New
Headers show

Commit Message

Jason Wang Feb. 25, 2011, 8:11 a.m. UTC
Signed-off-by: Jason Wang <jasowang@redhat.com>
---
 net.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

Comments

Michael S. Tsirkin Feb. 25, 2011, 8:30 a.m. UTC | #1
On Fri, Feb 25, 2011 at 04:11:27PM +0800, Jason Wang wrote:
> Signed-off-by: Jason Wang <jasowang@redhat.com>


Acked-by: Michael S. Tsirkin <mst@redhat.com>

> ---
>  net.c |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)
> 
> diff --git a/net.c b/net.c
> index 9ba5be2..21d4443 100644
> --- a/net.c
> +++ b/net.c
> @@ -1025,7 +1025,11 @@ static const struct {
>                  .name = "vhostfd",
>                  .type = QEMU_OPT_STRING,
>                  .help = "file descriptor of an already opened vhost net device",
> -            },
> +            }, {
> +                .name = "vhostforce",
> +                .type = QEMU_OPT_BOOL,
> +                .help = "force vhost on for non-MSIX virtio guests",
> +        },
>  #endif /* _WIN32 */
>              { /* end of list */ }
>          },
Aurelien Jarno March 6, 2011, 7:17 p.m. UTC | #2
On Fri, Feb 25, 2011 at 04:11:27PM +0800, Jason Wang wrote:
> Signed-off-by: Jason Wang <jasowang@redhat.com>
> ---
>  net.c |    6 +++++-
>  1 files changed, 5 insertions(+), 1 deletions(-)
> 
> diff --git a/net.c b/net.c
> index 9ba5be2..21d4443 100644
> --- a/net.c
> +++ b/net.c
> @@ -1025,7 +1025,11 @@ static const struct {
>                  .name = "vhostfd",
>                  .type = QEMU_OPT_STRING,
>                  .help = "file descriptor of an already opened vhost net device",
> -            },
> +            }, {
> +                .name = "vhostforce",
> +                .type = QEMU_OPT_BOOL,
> +                .help = "force vhost on for non-MSIX virtio guests",
> +        },
>  #endif /* _WIN32 */
>              { /* end of list */ }
>          },
> 

Thanks, applied to HEAD and stable-0.14
diff mbox

Patch

diff --git a/net.c b/net.c
index 9ba5be2..21d4443 100644
--- a/net.c
+++ b/net.c
@@ -1025,7 +1025,11 @@  static const struct {
                 .name = "vhostfd",
                 .type = QEMU_OPT_STRING,
                 .help = "file descriptor of an already opened vhost net device",
-            },
+            }, {
+                .name = "vhostforce",
+                .type = QEMU_OPT_BOOL,
+                .help = "force vhost on for non-MSIX virtio guests",
+        },
 #endif /* _WIN32 */
             { /* end of list */ }
         },