On Tue, Dec 22, 2015 at 05:07:16PM +0200, Michael S. Tsirkin wrote: > On Fri, Dec 18, 2015 at 10:32:29PM +0300, Roman Kagan wrote: > > 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. > > > > Windows doesn't; instead, it requests this information from BIOS via int > > 0x13/0x08 or through ACPI objects _FDE (Floppy Drive Enumerate) and _FDI > > (Floppy Drive Information). On UEFI systems only ACPI-based detection > > is supported. > > > > QEMU used not to provide those objects in its ACPI tables; as a result > > floppy drives were invisible to Windows on UEFI/OVMF. > > > > This patch implements those objects in SSDT, populating them via AML > > API. For that, a couple of functions are extern-ified to facilitate > > populating those objects in acpi-build.c. > > > > Signed-off-by: Roman Kagan <[email protected]> > > Signed-off-by: Denis V. Lunev <[email protected]> > > CC: Michael S. Tsirkin <[email protected]> > > CC: Igor Mammedov <[email protected]> > > CC: Paolo Bonzini <[email protected]> > > CC: Richard Henderson <[email protected]> > > CC: Eduardo Habkost <[email protected]> > > CC: John Snow <[email protected]> > > CC: Kevin Wolf <[email protected]> > > -- > > This must be --- otherwise git am does not strip the diff stat.
OOPS. I wonder how that happened... git format-patch certainly did the right thing; I must have deleted one dash by accident when editing the changelog. Want me to resend? Roman.
