kvm: bios: fix madt interrupt source override entry size
commit33c7dc4d86e04b60fd5f5563633b1ed8e53effce
authorAvi Kivity <avi@qumranet.com>
Thu, 17 Jan 2008 16:47:31 +0000 (17 18:47 +0200)
committerAvi Kivity <avi@qumranet.com>
Sat, 19 Jan 2008 06:37:13 +0000 (19 08:37 +0200)
tree212d05484b4a25328ffa5f216238e35a48847c6c
parent59112cd470527ac73dd3ecc94043a5b69fb441aa
kvm: bios: fix madt interrupt source override entry size

The acpi spec defines the madt interrupt source override structure size as
10, but gcc expands it to 12 in order to generate good alignment.  This
causes Windows to ignore the structure, which in turn causes it to see
the wrong polarity for the sci interrupt.

Fix by packing the structure.

Signed-off-by: Avi Kivity <avi@qumranet.com>
kvm/bios/rombios32.c