Recent versions of QEMU are placing the ACPI I/O ports starting at
0x600 instead of 0xb000.  This broke s3.flat and made vmexit.flat
test something else than PMTIMER; the latter matters because PMTIMER
is special in that it is not using the big QEMU lock.

Using the FADT to fetch the port addresses solves both problems.

Paolo

Paolo Bonzini (2):
  x86: add small library to find ACPI tables
  x86: get ACPI port addresses from FADT

 config/config-x86-common.mak |   1 +
 lib/x86/acpi.c               |  52 +++++++++++++++++
 lib/x86/acpi.h               | 104 ++++++++++++++++++++++++++++++++++
 x86/s3.c                     | 130 +++----------------------------------------
 x86/vmexit.c                 |   9 ++-
 5 files changed, 172 insertions(+), 124 deletions(-)
 create mode 100644 lib/x86/acpi.c
 create mode 100644 lib/x86/acpi.h

-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to