From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:53133) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJLe8-0000cm-JE for qemu-devel@nongnu.org; Thu, 27 Oct 2011 04:49:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJLe7-0005rp-9N for qemu-devel@nongnu.org; Thu, 27 Oct 2011 04:49:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJLe7-0005rg-1l for qemu-devel@nongnu.org; Thu, 27 Oct 2011 04:49:07 -0400 From: Jason Wang Date: Thu, 27 Oct 2011 16:49:06 +0800 Message-ID: <20111027084906.15020.6622.stgit@dhcp-8-146.nay.redhat.com> In-Reply-To: <20111027084700.15020.24087.stgit@dhcp-8-146.nay.redhat.com> References: <20111027084700.15020.24087.stgit@dhcp-8-146.nay.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [RFC v3 PATCH 4/4] virtio-net: compat guest announce support. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: aliguori@us.ibm.com, mst@redhat.com, jan.kiszka@siemens.com, rusty@rustcorp.com.au, qemu-devel@nongnu.org, blauwirbel@gmail.com, stefanha@gmail.com Cc: netdev@vger.kernel.org, kvm@vger.kernel.org Disable guest announce for compat machine types. Signed-off-by: Jason Wang --- hw/pc_piix.c | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/hw/pc_piix.c b/hw/pc_piix.c index 8c7f2b7..6ca50a6 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -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 */ } },