From patchwork Thu Mar 7 08:23:51 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Wang X-Patchwork-Id: 225766 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 85B932C0367 for ; Thu, 7 Mar 2013 19:35:00 +1100 (EST) Received: from localhost ([::1]:45231 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDWHy-0002oZ-Nt for incoming@patchwork.ozlabs.org; Thu, 07 Mar 2013 03:34:58 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDWGT-0000bD-KX for qemu-devel@nongnu.org; Thu, 07 Mar 2013 03:33:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UDWGS-0007mq-6K for qemu-devel@nongnu.org; Thu, 07 Mar 2013 03:33:25 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60374) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UDWGR-0007mk-Vu for qemu-devel@nongnu.org; Thu, 07 Mar 2013 03:33:24 -0500 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r278XN5i025244 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 7 Mar 2013 03:33:23 -0500 Received: from amd-6168-8-1.englab.nay.redhat.com (amd-6168-8-1.englab.nay.redhat.com [10.66.104.52]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r278WoIC007225; Thu, 7 Mar 2013 03:33:18 -0500 From: Jason Wang To: aliguori@us.ibm.com, pbonzini@redhat.com, owasserm@redhat.com, qemu-devel@nongnu.org Date: Thu, 7 Mar 2013 16:23:51 +0800 Message-Id: <1362644631-23113-6-git-send-email-jasowang@redhat.com> In-Reply-To: <1362644631-23113-1-git-send-email-jasowang@redhat.com> References: <1362644631-23113-1-git-send-email-jasowang@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: Jason Wang , mst@redhat.com Subject: [Qemu-devel] [PATCH V7 5/5] virtio-net: compat guest announce 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 pre-1.5. Signed-off-by: Jason Wang --- hw/pc.h | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/hw/pc.h b/hw/pc.h index f2c1b1c..2de7cd4 100644 --- a/hw/pc.h +++ b/hw/pc.h @@ -221,6 +221,10 @@ int e820_add_entry(uint64_t, uint64_t, uint32_t); .property = "vectors",\ /* DEV_NVECTORS_UNSPECIFIED as a uint32_t string */\ .value = stringify(0xFFFFFFFF),\ - } + },{\ + .driver = "virtio-net-pci", \ + .property = "guest_announce", \ + .value = "off", \ + } #endif