Re: [Qemu-devel] [PATCH] net: Add the missing option declaration of vhostforce

2011-03-06 Thread Aurelien Jarno
On Fri, Feb 25, 2011 at 04:11:27PM +0800, Jason Wang wrote:
 Signed-off-by: Jason Wang jasow...@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

-- 
Aurelien Jarno  GPG: 1024D/F1BCDB73
aurel...@aurel32.net http://www.aurel32.net



[Qemu-devel] [PATCH] net: Add the missing option declaration of vhostforce

2011-02-25 Thread Jason Wang
Signed-off-by: Jason Wang jasow...@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 */ }
 },