summaryrefslogtreecommitdiffstats
path: root/crypto/init.c
diff options
context:
space:
mode:
authorBruce Rogers2017-04-27 21:59:08 +0200
committerMichael S. Tsirkin2017-05-10 21:04:23 +0200
commit153eba4726dfa1bdfc31d1fe973b2a61b9035492 (patch)
tree50db174fd2b90339f45e3734c4eafb64dc15e24b /crypto/init.c
parentiommu: Don't crash if machine is not PC_MACHINE (diff)
downloadqemu-153eba4726dfa1bdfc31d1fe973b2a61b9035492.tar.gz
qemu-153eba4726dfa1bdfc31d1fe973b2a61b9035492.tar.xz
qemu-153eba4726dfa1bdfc31d1fe973b2a61b9035492.zip
ACPI: don't call acpi_pcihp_device_plug_cb on xen
Commit f0c9d64a exposed the issue that with a xenfv machine using pci passthrough, acpi pci hotplug code was being executed by mistake. Guard calls to acpi_pcihp_device_plug_cb (and corresponding acpi_pcihp_device_unplug_cb) with a check for xen_enabled(). Without this check I am seeing an error that the bus doesn't have the acpi-pcihp-bsel property set. Signed-off-by: Bruce Rogers <brogers@suse.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'crypto/init.c')
0 files changed, 0 insertions, 0 deletions