Re: [Qemu-devel] [PATCH v2] fdc: fix media change detection for windows

2012-06-06 Thread Kevin Wolf
Am 06.06.2012 15:43, schrieb Pavel Hrdina: >>> I'll move the code into the end of 'fd_seek' function, where a step is >>> guaranteed. Internal seek should also reset the 'media_changed' bit if >>> there is a media in the drive. I'll create the qtest tomorrow then I'll >>> send another version of

Re: [Qemu-devel] [PATCH v2] fdc: fix media change detection for windows

2012-06-06 Thread Pavel Hrdina
On 06/06/2012 12:35 PM, Kevin Wolf wrote: Am 05.06.2012 18:34, schrieb Pavel Hrdina: On 06/05/2012 05:56 PM, Kevin Wolf wrote: Am 05.06.2012 17:50, schrieb Pavel Hrdina: Sorry, I forget the qtest. I'll create it and send it again. Pavel On 06/05/2012 05:46 PM, Pavel Hrdina wrote: The Wind

Re: [Qemu-devel] [PATCH v2] fdc: fix media change detection for windows

2012-06-06 Thread Kevin Wolf
Am 05.06.2012 18:34, schrieb Pavel Hrdina: > On 06/05/2012 05:56 PM, Kevin Wolf wrote: >> Am 05.06.2012 17:50, schrieb Pavel Hrdina: >>> Sorry, I forget the qtest. I'll create it and send it again. >>> >>> Pavel >>> >>> On 06/05/2012 05:46 PM, Pavel Hrdina wrote: The Windows uses 'READ' comman

Re: [Qemu-devel] [PATCH v2] fdc: fix media change detection for windows

2012-06-05 Thread Pavel Hrdina
On 06/05/2012 05:56 PM, Kevin Wolf wrote: Am 05.06.2012 17:50, schrieb Pavel Hrdina: Sorry, I forget the qtest. I'll create it and send it again. Pavel On 06/05/2012 05:46 PM, Pavel Hrdina wrote: The Windows uses 'READ' command at the start of an instalation without checking the 'dir' registe

Re: [Qemu-devel] [PATCH v2] fdc: fix media change detection for windows

2012-06-05 Thread Kevin Wolf
Am 05.06.2012 17:50, schrieb Pavel Hrdina: > Sorry, I forget the qtest. I'll create it and send it again. > > Pavel > > On 06/05/2012 05:46 PM, Pavel Hrdina wrote: >> The Windows uses 'READ' command at the start of an instalation >> without checking the 'dir' register. We have to abort the transf

Re: [Qemu-devel] [PATCH v2] fdc: fix media change detection for windows

2012-06-05 Thread Pavel Hrdina
Sorry, I forget the qtest. I'll create it and send it again. Pavel On 06/05/2012 05:46 PM, Pavel Hrdina wrote: The Windows uses 'READ' command at the start of an instalation without checking the 'dir' register. We have to abort the transfer with an abnormal termination if there is no media in t

[Qemu-devel] [PATCH v2] fdc: fix media change detection for windows

2012-06-05 Thread Pavel Hrdina
The Windows uses 'READ' command at the start of an instalation without checking the 'dir' register. We have to abort the transfer with an abnormal termination if there is no media in the drive. We have to also check the 'media_change' bit in the 'fd_seek'. This internal seek clears the 'media_chan