]> git.proxmox.com Git - mirror_qemu.git/commit - hw/i386/pc.c
i386: expose floppy drive CMOS type
authorRoman Kagan <rkagan@virtuozzo.com>
Wed, 17 Feb 2016 18:25:31 +0000 (21:25 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 11 Mar 2016 12:55:15 +0000 (14:55 +0200)
commitbda055096be9a91d602af457f8bedeede86eb3f6
tree46a1aed503e1e0ec8446bb9ef252dd2be778f671
parent9b613f4e40ff869da00e6268e9901efc18d31b5a
i386: expose floppy drive CMOS type

Make it possible to query the CMOS type of a floppy drive outside of the
source file where it's defined.

It will allow to properly populate the corresponding ACPI objects and
thus enable Windows on BIOS-less systems to access the floppy drives.

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>
hw/i386/pc.c
include/hw/i386/pc.h