qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH V4 2/6] hw/pxb: declare pxb devices as not hot-plugg


From: Marcel Apfelbaum
Subject: [Qemu-devel] [PATCH V4 2/6] hw/pxb: declare pxb devices as not hot-pluggable
Date: Thu, 30 Jun 2016 22:07:16 +0300

Prevent future issues when hotplug will work for devices
attached to pxbs.

Suggested-by: Igor Mammedov <address@hidden>
Signed-off-by: Marcel Apfelbaum <address@hidden>
---
 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 ba320bd..9136a23 100644
--- a/hw/pci-bridge/pci_expander_bridge.c
+++ b/hw/pci-bridge/pci_expander_bridge.c
@@ -308,6 +308,7 @@ static void pxb_dev_class_init(ObjectClass *klass, void 
*data)
 
     dc->desc = "PCI Expander Bridge";
     dc->props = pxb_dev_properties;
+    dc->hotpluggable = false;
     set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
 }
 
@@ -341,6 +342,7 @@ static void pxb_pcie_dev_class_init(ObjectClass *klass, 
void *data)
 
     dc->desc = "PCI Express Expander Bridge";
     dc->props = pxb_dev_properties;
+    dc->hotpluggable = false;
     set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
 }
 
-- 
2.4.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]