Disable guest announce for pre-1.5.
Signed-off-by: Jason Wang <[email protected]>
---
hw/pc.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
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
--
1.7.1