On Mon, Dec 21, 2009 at 09:40:47AM +0200, Gleb Natapov wrote: > On Sun, Dec 20, 2009 at 11:48:20AM -0600, Anthony Liguori wrote: > > >system_reset _is_ hard shutdown/start-up. If it is not it is a bug, we > > >just arguing if the same applies for the case that migration was done > > >between boot and reset. > > > > It's not and it will never be completely. > There are always bugs left. As long as we agree on what is right that is > OK. > > > By this logic, we should > > close the file descriptors for the block devices and try to reopen > > them. It's certainly possible that someone does a mv of the block > > device and replaces it under the covers. > What is the analogue in real HW? BTW it is not a bad idea to get > notification when disk file has changed and issue "change device" > automatically. > > > > > Likewise, if a user upgrades the firmware independently of the qemu > > version, it would need to reread the firmware from disk each boot. > > > That's the idea. Qemu should reread firmware from disk on each hard reset.
We could have another copy in memory if we are concerned about being consistent, reset firmware to that on reboot. > -- > Gleb. >