Commit d160024f authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

pc_piix: enable legacy hotplug for Xen



xenfv has no fwcfg and so does not load acpi from QEMU.
as such new acpi features don't work.

Reported-by: default avatarSander Eikelenboom <linux@eikelenboom.it>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent 35b30712
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -793,6 +793,17 @@ static QEMUMachine xenfv_machine = {
    .max_cpus = HVM_MAX_VCPUS,
    .default_machine_opts = "accel=xen",
    .hot_add_cpu = pc_hot_add_cpu,
    .compat_props = (GlobalProperty[]) {
        /* xenfv has no fwcfg and so does not load acpi from QEMU.
         * as such new acpi features don't work.
         */
        {
            .driver   = "PIIX4_PM",
            .property = "acpi-pci-hotplug-with-bridge-support",
            .value    = "off",
        },
        { /* end of list */ }
    },
};
#endif