From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQw2k-0003sB-5R for qemu-devel@nongnu.org; Wed, 03 Feb 2016 06:56:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQw2g-00039K-6F for qemu-devel@nongnu.org; Wed, 03 Feb 2016 06:56:18 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQw2g-000394-1L for qemu-devel@nongnu.org; Wed, 03 Feb 2016 06:56:14 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id BD3AB6E794 for ; Wed, 3 Feb 2016 11:56:12 +0000 (UTC) From: Marcel Apfelbaum Date: Wed, 3 Feb 2016 13:56:10 +0200 Message-Id: <1454500570-25131-1-git-send-email-marcel@redhat.com> Subject: [Qemu-devel] [PATCH] hw/pxb: add pxb devices to the bridge category List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: marcel@redhat.com, mst@redhat.com Signed-off-by: Marcel Apfelbaum --- hw/pci-bridge/pci_expander_bridge.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/pci-bridge/pci_expander_bridge.c b/hw/pci-bridge/pci_expander_bridge.c index 62fd29d..d23b8da 100644 --- a/hw/pci-bridge/pci_expander_bridge.c +++ b/hw/pci-bridge/pci_expander_bridge.c @@ -302,6 +302,7 @@ static void pxb_dev_class_init(ObjectClass *klass, void *data) dc->desc = "PCI Expander Bridge"; dc->props = pxb_dev_properties; + set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories); } static const TypeInfo pxb_dev_info = { @@ -334,6 +335,7 @@ static void pxb_pcie_dev_class_init(ObjectClass *klass, void *data) dc->desc = "PCI Express Expander Bridge"; dc->props = pxb_dev_properties; + set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories); } static const TypeInfo pxb_pcie_dev_info = { -- 2.4.3