diff mbox

[V7,5/5] virtio-net: compat guest announce

Message ID 1362644631-23113-6-git-send-email-jasowang@redhat.com
State New
Headers show

Commit Message

Jason Wang March 7, 2013, 8:23 a.m. UTC
Disable guest announce for pre-1.5.

Signed-off-by: Jason Wang <jasowang@redhat.com>
---
 hw/pc.h |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/hw/pc.h b/hw/pc.h
index f2c1b1c..2de7cd4 100644
--- a/hw/pc.h
+++ b/hw/pc.h
@@ -221,6 +221,10 @@  int e820_add_entry(uint64_t, uint64_t, uint32_t);
             .property = "vectors",\
             /* DEV_NVECTORS_UNSPECIFIED as a uint32_t string */\
             .value    = stringify(0xFFFFFFFF),\
-	}
+        },{\
+            .driver   = "virtio-net-pci",       \
+            .property = "guest_announce", \
+            .value    = "off",            \
+        }
 
 #endif