diff options
author | Michael S. Tsirkin | 2014-01-26 11:31:27 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2014-02-05 15:55:49 +0100 |
commit | 5a2223ca26b1a34e131b5b9a63599d9426d2c25c (patch) | |
tree | 7d5c543c94afdaab0cc4e3abef828bb4ac51fe99 /include/hw/acpi | |
parent | Merge remote-tracking branch 'remotes/borntraeger/tags/kvm-s390-20140131' int... (diff) | |
download | qemu-5a2223ca26b1a34e131b5b9a63599d9426d2c25c.tar.gz qemu-5a2223ca26b1a34e131b5b9a63599d9426d2c25c.tar.xz qemu-5a2223ca26b1a34e131b5b9a63599d9426d2c25c.zip |
pcihp: reduce number of device check events
PIIX created a made-up value for the UP register since it was read by
guest 32 times for each interrupt.
There's no reason to do this for the new PCIHP: register is only read
once for each interrupt, so clean up code by making read act as an
interrupt acknowledgement: the new UP register clear on read.
In this way we cut down the number of bus rescans
by a factor of 32, and drop a bunch of code that's
now unused.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/acpi')
-rw-r--r-- | include/hw/acpi/pcihp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/acpi/pcihp.h b/include/hw/acpi/pcihp.h index 6230e60954..aa297c2450 100644 --- a/include/hw/acpi/pcihp.h +++ b/include/hw/acpi/pcihp.h @@ -32,7 +32,7 @@ #include "hw/pci/pci.h" /* for PCIHotplugState */ typedef struct AcpiPciHpPciStatus { - uint32_t up; /* deprecated, maintained for migration compatibility */ + uint32_t up; uint32_t down; uint32_t hotplug_enable; uint32_t device_present; |