[Qemu-devel] Re: [PATCH] floppy: save and restore DIR register

2011-03-28 Thread Paolo Bonzini
On 03/28/2011 04:40 AM, Jason Wang wrote: > On 03/25/2011 07:27 AM, Jason Wang wrote: > > We need to keep DIR register unchanged across migration, but currently it > > depends on the media_changed flags from block layer and we do not save/restore > > it which could let the guest driver think

[Qemu-devel] Re: [PATCH] floppy: save and restore DIR register

2011-03-27 Thread Jason Wang
Paolo Bonzini writes: > On 03/25/2011 07:27 AM, Jason Wang wrote: > > We need to keep DIR register unchanged across migration, but currently it > > depends on the media_changed flags from block layer and we do not > > save/restore > > it which could let the guest driver think the floppy have

[Qemu-devel] Re: [PATCH] floppy: save and restore DIR register

2011-03-25 Thread Paolo Bonzini
On 03/25/2011 07:27 AM, Jason Wang wrote: We need to keep DIR register unchanged across migration, but currently it depends on the media_changed flags from block layer and we do not save/restore it which could let the guest driver think the floppy have changed after migration. To fix this, a new

[Qemu-devel] Re: [PATCH] floppy: save and restore DIR register

2011-03-25 Thread Juan Quintela
Jason Wang wrote: > We need to keep DIR register unchanged across migration, but currently it > depends on the media_changed flags from block layer and we do not save/restore > it which could let the guest driver think the floppy have changed after > migration. To fix this, a new filed media_chang