@@ -340,6 +340,10 @@ static QEMUMachine pc_machine_v0_13 = {
.driver = "virtio-net-pci",
.property = "event_idx",
.value = "off",
+ },{
+ .driver = "virtio-net-pci",
+ .property = "guest_announce",
+ .value = "off",
},
{ /* end of list */ }
},
@@ -383,6 +387,10 @@ static QEMUMachine pc_machine_v0_12 = {
.driver = "virtio-net-pci",
.property = "event_idx",
.value = "off",
+ },{
+ .driver = "virtio-net-pci",
+ .property = "guest_announce",
+ .value = "off",
},
{ /* end of list */ }
}
@@ -434,6 +442,10 @@ static QEMUMachine pc_machine_v0_11 = {
.driver = "virtio-net-pci",
.property = "event_idx",
.value = "off",
+ },{
+ .driver = "virtio-net-pci",
+ .property = "guest_announce",
+ .value = "off",
},
{ /* end of list */ }
}
@@ -497,6 +509,10 @@ static QEMUMachine pc_machine_v0_10 = {
.driver = "virtio-net-pci",
.property = "event_idx",
.value = "off",
+ },{
+ .driver = "virtio-net-pci",
+ .property = "guest_announce",
+ .value = "off",
},
{ /* end of list */ }
},
Disable guest announce for compat machine types. Signed-off-by: Jason Wang <jasowang@redhat.com> --- hw/pc_piix.c | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-)