On Tue, Feb 03, 2015 at 12:08:33PM +0100, Paolo Bonzini wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > > On 02/02/2015 17:19, Stefan Hajnoczi wrote: > > How does the CPU detect that the device has completed the reset > > procedure? Is this supposed to be synchronous? If yes, is that a > > good idea (i.e. hopefully resetting doesn't involve any blocking > > operations or operations that take a long time)? > > Most of the time in QEMU reset is synchronous. Think of block devices > that do bdrv_drain_all() as part of reset! That doesn't mean we should add more cases. Stefan