From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7Nbq-0007dK-KR for qemu-devel@nongnu.org; Tue, 13 Mar 2012 05:01:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7Nbi-0007iV-6F for qemu-devel@nongnu.org; Tue, 13 Mar 2012 05:01:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4248) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7Nbh-0007iL-VV for qemu-devel@nongnu.org; Tue, 13 Mar 2012 05:01:26 -0400 From: Jason Wang Date: Tue, 13 Mar 2012 16:56:49 +0800 Message-ID: <20120313085649.10958.94101.stgit@amd-6168-8-1.englab.nay.redhat.com> In-Reply-To: <20120313085500.10958.92659.stgit@amd-6168-8-1.englab.nay.redhat.com> References: <20120313085500.10958.92659.stgit@amd-6168-8-1.englab.nay.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [V4 PATCH 5/5] virtio-net: compat guest announce support. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: aliguori@us.ibm.com, stefanha@linux.vnet.ibm.com, mst@redhat.com, rusty@rustcorp.com.au, qemu-devel@nongnu.org, quintela@redhat.com Disable guest announce for compat machine types. Signed-off-by: Jason Wang --- hw/pc_piix.c | 35 +++++++++++++++++++++++++++++++++++ 1 files changed, 35 insertions(+), 0 deletions(-) diff --git a/hw/pc_piix.c b/hw/pc_piix.c index 6c5c40f..780b607 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -389,6 +389,11 @@ static QEMUMachine pc_machine_v1_0 = { .property = "check_media_rate", .value = "off", }, + { + .driver = "virtio-net-pci", + .property = "guest_announce", + .value = "off", + }, { /* end of list */ } }, }; @@ -408,6 +413,11 @@ static QEMUMachine pc_machine_v0_15 = { .property = "check_media_rate", .value = "off", }, + { + .driver = "virtio-net-pci", + .property = "guest_announce", + .value = "off", + }, { /* end of list */ } }, }; @@ -452,6 +462,11 @@ static QEMUMachine pc_machine_v0_14 = { .property = "rom_only", .value = stringify(1), }, + { + .driver = "virtio-net-pci", + .property = "guest_announce", + .value = "off", + }, { /* end of list */ } }, }; @@ -508,6 +523,11 @@ static QEMUMachine pc_machine_v0_13 = { .property = "rom_only", .value = stringify(1), }, + { + .driver = "virtio-net-pci", + .property = "guest_announce", + .value = "off", + }, { /* end of list */ } }, }; @@ -568,6 +588,11 @@ static QEMUMachine pc_machine_v0_12 = { .property = "rom_only", .value = stringify(1), }, + { + .driver = "virtio-net-pci", + .property = "guest_announce", + .value = "off", + }, { /* end of list */ } } }; @@ -636,6 +661,11 @@ static QEMUMachine pc_machine_v0_11 = { .property = "rom_only", .value = stringify(1), }, + { + .driver = "virtio-net-pci", + .property = "guest_announce", + .value = "off", + }, { /* end of list */ } } }; @@ -716,6 +746,11 @@ static QEMUMachine pc_machine_v0_10 = { .property = "rom_only", .value = stringify(1), }, + { + .driver = "virtio-net-pci", + .property = "guest_announce", + .value = "off", + }, { /* end of list */ } }, };