From patchwork Wed Mar 28 05:40:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Wang X-Patchwork-Id: 149147 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 9281BB6F6E for ; Wed, 28 Mar 2012 17:17:33 +1100 (EST) Received: from localhost ([::1]:40617 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SClhS-0004xk-DU for incoming@patchwork.ozlabs.org; Wed, 28 Mar 2012 01:45:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SClhI-0004l6-8h for qemu-devel@nongnu.org; Wed, 28 Mar 2012 01:45:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SClhG-0005N9-IG for qemu-devel@nongnu.org; Wed, 28 Mar 2012 01:45:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SClhG-0005N3-AL for qemu-devel@nongnu.org; Wed, 28 Mar 2012 01:45:26 -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 q2S5jNb9024790 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 28 Mar 2012 01:45:23 -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 q2S5jJpD011680; Wed, 28 Mar 2012 01:45:20 -0400 To: aliguori@us.ibm.com, stefanha@linux.vnet.ibm.com, quintela@redhat.com, rusty@rustcorp.com.au, qemu-devel@nongnu.org, mst@redhat.com, pbonzini@redhat.com From: Jason Wang Date: Wed, 28 Mar 2012 13:40:40 +0800 Message-ID: <20120328054040.34135.23964.stgit@amd-6168-8-1.englab.nay.redhat.com> In-Reply-To: <20120328053356.34135.42669.stgit@amd-6168-8-1.englab.nay.redhat.com> References: <20120328053356.34135.42669.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] [V6 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 */ } }, };