Re: [Qemu-devel] [PATCH 2/2] fdc: fix media detection

2012-05-22 Thread Pavel Hrdina
On 05/22/2012 03:42 PM, Kevin Wolf wrote: Am 22.05.2012 15:28, schrieb Pavel Hrdina: On 05/22/2012 02:01 PM, Kevin Wolf wrote: Am 22.05.2012 12:59, schrieb Pavel Hrdina: We have to set up 'media_changed' after guest start so floppy driver could detect that there is no media in drive. For this

Re: [Qemu-devel] [PATCH 2/2] fdc: fix media detection

2012-05-22 Thread Kevin Wolf
Am 22.05.2012 15:28, schrieb Pavel Hrdina: > On 05/22/2012 02:01 PM, Kevin Wolf wrote: >> Am 22.05.2012 12:59, schrieb Pavel Hrdina: >>> We have to set up 'media_changed' after guest start so floppy driver >>> could detect that there is no media in drive. For this purpose we call >>> 'fdctrl_change

Re: [Qemu-devel] [PATCH 2/2] fdc: fix media detection

2012-05-22 Thread Pavel Hrdina
On 05/22/2012 02:01 PM, Kevin Wolf wrote: Am 22.05.2012 12:59, schrieb Pavel Hrdina: We have to set up 'media_changed' after guest start so floppy driver could detect that there is no media in drive. For this purpose we call 'fdctrl_change_cb' instead of 'fd_revalidate' in 'fdctrl_connect_drives

Re: [Qemu-devel] [PATCH 2/2] fdc: fix media detection

2012-05-22 Thread Kevin Wolf
Am 22.05.2012 12:59, schrieb Pavel Hrdina: > We have to set up 'media_changed' after guest start so floppy driver > could detect that there is no media in drive. For this purpose we call > 'fdctrl_change_cb' instead of 'fd_revalidate' in 'fdctrl_connect_drives'. > 'fd_revalidate' is called inside '

[Qemu-devel] [PATCH 2/2] fdc: fix media detection

2012-05-22 Thread Pavel Hrdina
We have to set up 'media_changed' after guest start so floppy driver could detect that there is no media in drive. For this purpose we call 'fdctrl_change_cb' instead of 'fd_revalidate' in 'fdctrl_connect_drives'. 'fd_revalidate' is called inside 'fdctrl_change_cb'. In 'fdctrl_handle_seek' we alwa