[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
- [Qemu-devel] [PATCH V4 0/6] pxb: fix 64-bit MMIO allocation, Marcel Apfelbaum, 2016/06/30
- [Qemu-devel] [PATCH V4 2/6] hw/pxb: declare pxb devices as not hot-pluggable,
Marcel Apfelbaum <=
- [Qemu-devel] [PATCH V4 1/6] tests/acpi: add pxb/pxb-pcie tests, Marcel Apfelbaum, 2016/06/30
- [Qemu-devel] [PATCH V4 3/6] hw/acpi: fix a DSDT table issue when a pxb is present., Marcel Apfelbaum, 2016/06/30
- [Qemu-devel] [PATCH V4 5/6] hw/apci: handle 64-bit MMIO regions correctly, Marcel Apfelbaum, 2016/06/30
- [Qemu-devel] [PATCH V4 4/6] acpi: refactor pxb crs computation, Marcel Apfelbaum, 2016/06/30
- [Qemu-devel] [PATCH V4 6/6] tests/acpi: Add pxb/pxb-pcie tests blobs, Marcel Apfelbaum, 2016/06/30