From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0pqF-0000hj-VY for qemu-devel@nongnu.org; Tue, 16 Dec 2014 05:59:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y0pq8-0006uN-UA for qemu-devel@nongnu.org; Tue, 16 Dec 2014 05:58:59 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0pq8-0006uG-Ml for qemu-devel@nongnu.org; Tue, 16 Dec 2014 05:58:52 -0500 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 sBGAwp5v012009 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 16 Dec 2014 05:58:52 -0500 From: Igor Mammedov Date: Tue, 16 Dec 2014 10:58:38 +0000 Message-Id: <1418727524-6790-3-git-send-email-imammedo@redhat.com> In-Reply-To: <1418727524-6790-1-git-send-email-imammedo@redhat.com> References: <1418727524-6790-1-git-send-email-imammedo@redhat.com> Subject: [Qemu-devel] [PATCH V2 2/8] pc: acpi: decribe bridge device as not hotpluggable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: marcel.a@redhat.com, mst@redhat.com when bridge hotplug is disabled, i.e. for machine types less then 2.0, bridge device was created as hotpluggable by mistake since commit 133a2da. Fix it by just creating it as a present device. Signed-off-by: Igor Mammedov --- hw/i386/acpi-build.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index b37a397..1fb92e5 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -913,7 +913,7 @@ static void build_pci_bus_end(PCIBus *bus, void *bus_state) } } - if (!dc->hotpluggable || bridge_in_acpi) { + if (!dc->hotpluggable || pc->is_bridge) { clear_bit(slot, slot_hotplug_enable); } } -- 1.8.3.1