From patchwork Fri Mar 16 08:55:21 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Wang X-Patchwork-Id: 147164 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id A5599B6FA9 for ; Fri, 16 Mar 2012 20:00:54 +1100 (EST) Received: from localhost ([::1]:37907 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8T1o-0002N1-HX for incoming@patchwork.ozlabs.org; Fri, 16 Mar 2012 05:00:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8T1A-0000fo-85 for qemu-devel@nongnu.org; Fri, 16 Mar 2012 05:00:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S8T10-00033C-8Q for qemu-devel@nongnu.org; Fri, 16 Mar 2012 05:00:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45239) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8T10-00032E-0i for qemu-devel@nongnu.org; Fri, 16 Mar 2012 05:00:02 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q2G8xwOt017335 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 16 Mar 2012 04:59:59 -0400 Received: from amd-6168-8-1.englab.nay.redhat.com (amd-6168-8-1.englab.nay.redhat.com [10.66.104.52]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q2G8xsE6011134; Fri, 16 Mar 2012 04:59:55 -0400 To: aliguori@us.ibm.com, stefanha@linux.vnet.ibm.com, mst@redhat.com, rusty@rustcorp.com.au, qemu-devel@nongnu.org, quintela@redhat.com, pbonzini@redhat.com From: Jason Wang Date: Fri, 16 Mar 2012 16:55:21 +0800 Message-ID: <20120316085521.4947.86665.stgit@amd-6168-8-1.englab.nay.redhat.com> In-Reply-To: <20120316085237.4947.53556.stgit@amd-6168-8-1.englab.nay.redhat.com> References: <20120316085237.4947.53556.stgit@amd-6168-8-1.englab.nay.redhat.com> User-Agent: StGit/0.16-1-g60c4 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [V5 PATCH 4/4] virtio-net: compat guest announce support. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 */ } }, };