summary refs log tree commit diff stats
path: root/net/socket.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2014-11-14 11:11:44 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2014-11-14 11:11:44 +0000
commit91ab2ed7221c70ed7fd09ab2665b1f0493c775a4 (patch)
treea34f32423940ef2cb10291c3951fd14ae3f44db4 /net/socket.c
parentc52e67924fbdadfa00668248f5c075542943c54c (diff)
downloadfocaccia-qemu-91ab2ed7221c70ed7fd09ab2665b1f0493c775a4.tar.gz
focaccia-qemu-91ab2ed7221c70ed7fd09ab2665b1f0493c775a4.zip
pc: piix4_pm: init legacy PCI hotplug when running on Xen
If user starts QEMU with "-machine pc,accel=xen", then
compat property in xenfv won't work and it would cause error:
"Unsupported bus. Bus doesn't have property 'acpi-pcihp-bsel' set"
when PCI device is added with -device on QEMU CLI.

From: Igor Mammedov <imammedo@redhat.com>

In case of Xen instead of using compat property, just use the fact
that xen doesn't use QEMU's fw_cfg/acpi tables to switch piix4_pm
into legacy PCI hotplug mode when Xen is enabled.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Li Liang <liang.z.li@intel.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions