summaryrefslogtreecommitdiffstats
path: root/tests/acpi-test-data
diff options
context:
space:
mode:
authorRoman Kagan2016-02-17 19:25:33 +0100
committerMichael S. Tsirkin2016-03-11 13:55:15 +0100
commit27b9fc54d23acd8f6829e850a027b3b3878cba37 (patch)
tree0af540b43ac9f2404e000836fa96e164064af55e /tests/acpi-test-data
parentfdc: add function to determine drive chs limits (diff)
downloadqemu-27b9fc54d23acd8f6829e850a027b3b3878cba37.tar.gz
qemu-27b9fc54d23acd8f6829e850a027b3b3878cba37.tar.xz
qemu-27b9fc54d23acd8f6829e850a027b3b3878cba37.zip
i386: populate floppy drive information in DSDT
On x86-based systems Linux determines the presence and the type of floppy drives via a query of a CMOS field. So does SeaBIOS when populating the return data for int 0x13 function 0x08. However Windows doesn't do it. Instead, it requests this information from BIOS via int 0x13/0x08 or through ACPI objects _FDE (Floppy Drive Enumerate) and _FDI (Floppy Drive Information) of the floppy controller object. On UEFI systems only ACPI-based detection is supported. QEMU doesn't provide those objects in its ACPI tables and as a result floppy drives are invisible to Windows on UEFI/OVMF. This patch adds those objects to the floppy controller in DSDT, populating them with the information from respective QEMU objects. Signed-off-by: Roman Kagan <rkagan@virtuozzo.com> Cc: Igor Mammedov <imammedo@redhat.com> Cc: "Michael S. Tsirkin" <mst@redhat.com> Cc: Marcel Apfelbaum <marcel@redhat.com> Cc: John Snow <jsnow@redhat.com> Cc: Laszlo Ersek <lersek@redhat.com> Cc: Kevin O'Connor <kevin@koconnor.net> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tests/acpi-test-data')
0 files changed, 0 insertions, 0 deletions