]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/acpi-build.c
pc: acpi: drop manual hole punching for GPE0 resources
authorIgor Mammedov <imammedo@redhat.com>
Fri, 20 Feb 2015 18:22:08 +0000 (18:22 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 1 Mar 2015 11:33:21 +0000 (12:33 +0100)
commitd31c909e57a131dec7a1e620f36573f2f5fca9e5
treed4f2f7f6c8d8bcc45725f70e684d4f08e80fb6a1
parentc2d9c595ade376ad4c94c8c2cab23fd6f50805f7
pc: acpi: drop manual hole punching for GPE0 resources

Drops manual hole punching in PCI0._CRS on PIIX4 machine type
for GPE0 resources. Resources will be consumed by Device(GPE0)
that is attached to PCI namespace.
There is GPE device with HID ACPI0006 since ACPI2.0
that should be used for this purpose but none of Windows
versions support it and show it as "unknown device",
so reserve resource in old fashioned way with PNP0A06
device to make windows happy and actually reserve resources.

Along with last hole _CRS layout of PIIX4 machine becomes
the same as Q35 one, so merge them together and use the same
_CRS for both machine types.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/acpi-build.c