summaryrefslogtreecommitdiffstats
path: root/hw/ipmi/ipmi_bmc_extern.c
diff options
context:
space:
mode:
authorCorey Minyard2016-10-24 22:10:15 +0200
committerMichael S. Tsirkin2016-11-01 18:21:09 +0100
commit66abfddb28e9fe92d8230d711c8faeaf496aaa88 (patch)
tree912ed78c141a074f90d492b0380f1711a74b1fee /hw/ipmi/ipmi_bmc_extern.c
parentpc: memhp: enable nvdimm device hotplug (diff)
downloadqemu-66abfddb28e9fe92d8230d711c8faeaf496aaa88.tar.gz
qemu-66abfddb28e9fe92d8230d711c8faeaf496aaa88.tar.xz
qemu-66abfddb28e9fe92d8230d711c8faeaf496aaa88.zip
ipmi: Remove hotplug from IPMI BMCs
No hotplug support, make sure it doesn't happen. Signed-off-by: Corey Minyard <cminyard@mvista.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/ipmi/ipmi_bmc_extern.c')
-rw-r--r--hw/ipmi/ipmi_bmc_extern.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ipmi/ipmi_bmc_extern.c b/hw/ipmi/ipmi_bmc_extern.c
index 4b310e5eff..d30b2869f6 100644
--- a/hw/ipmi/ipmi_bmc_extern.c
+++ b/hw/ipmi/ipmi_bmc_extern.c
@@ -512,6 +512,7 @@ static void ipmi_bmc_extern_class_init(ObjectClass *oc, void *data)
bk->handle_command = ipmi_bmc_extern_handle_command;
bk->handle_reset = ipmi_bmc_extern_handle_reset;
+ dc->hotpluggable = false;
dc->realize = ipmi_bmc_extern_realize;
dc->props = ipmi_bmc_extern_properties;
}