Re: [Qemu-devel] [PATCH v7 3/3] i386: populate floppy drive information in DSDT

2016-02-08 Thread Igor Mammedov
On Tue, 26 Jan 2016 14:50:25 +0100 Igor Mammedov wrote: > From: Roman Kagan > > 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 do

Re: [Qemu-devel] [PATCH v7 3/3] i386: populate floppy drive information in DSDT

2016-02-08 Thread Michael S. Tsirkin
On Mon, Feb 08, 2016 at 04:00:37PM +0300, Roman Kagan wrote: > On Sun, Feb 07, 2016 at 11:08:07AM +0200, Michael S. Tsirkin wrote: > > On Tue, Jan 26, 2016 at 02:50:25PM +0100, Igor Mammedov wrote: > > > From: Roman Kagan > > > -static Aml *build_fdc_device_aml(void) > > > +static Aml *build_fdinf

Re: [Qemu-devel] [PATCH v7 3/3] i386: populate floppy drive information in DSDT

2016-02-08 Thread Roman Kagan
On Sun, Feb 07, 2016 at 11:08:07AM +0200, Michael S. Tsirkin wrote: > On Tue, Jan 26, 2016 at 02:50:25PM +0100, Igor Mammedov wrote: > > From: Roman Kagan > > -static Aml *build_fdc_device_aml(void) > > +static Aml *build_fdinfo_aml(int idx, uint8_t type, uint8_t cylinders, > > +

Re: [Qemu-devel] [PATCH v7 3/3] i386: populate floppy drive information in DSDT

2016-02-07 Thread Michael S. Tsirkin
On Tue, Jan 26, 2016 at 02:50:25PM +0100, Igor Mammedov wrote: > From: Roman Kagan > > 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 Windo

[Qemu-devel] [PATCH v7 3/3] i386: populate floppy drive information in DSDT

2016-01-26 Thread Igor Mammedov
From: Roman Kagan 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/