diff options
author | Marcel Apfelbaum | 2016-03-07 20:14:37 +0100 |
---|---|---|
committer | Michael S. Tsirkin | 2016-03-11 15:45:21 +0100 |
commit | c82f503dd5c3f0a01a9e63741f1f875652669867 (patch) | |
tree | 637e98c2ac3c39d3caf0d1ca048f9048defe2d95 /hw/i386/acpi-build.c | |
parent | ich9lpc: fix typo (diff) | |
download | qemu-c82f503dd5c3f0a01a9e63741f1f875652669867.tar.gz qemu-c82f503dd5c3f0a01a9e63741f1f875652669867.tar.xz qemu-c82f503dd5c3f0a01a9e63741f1f875652669867.zip |
hw/acpi: fix Q35 support for legacy Windows OS
Legacy Windows operating systems like Windows XP and Windows 2003
require _DIS method to be present for all interrupt links.
PC machines already have a no-op implemented for GSI links, add
it also in Q35.
Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Diffstat (limited to 'hw/i386/acpi-build.c')
-rw-r--r-- | hw/i386/acpi-build.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/i386/acpi-build.c b/hw/i386/acpi-build.c index dbd0b93159..0e32395604 100644 --- a/hw/i386/acpi-build.c +++ b/hw/i386/acpi-build.c @@ -1556,6 +1556,12 @@ static Aml *build_gsi_link_dev(const char *name, uint8_t uid, uint8_t gsi) aml_append(dev, aml_name_decl("_CRS", crs)); + /* + * _DIS can be no-op because the interrupt cannot be disabled. + */ + method = aml_method("_DIS", 0, AML_NOTSERIALIZED); + aml_append(dev, method); + method = aml_method("_SRS", 1, AML_NOTSERIALIZED); aml_append(dev, method); |