Am 03.06.2015 um 15:46 hat Alexander Yarygin geschrieben: > Each call of the virtio_blk_reset() function calls blk_drain_all(), > which works for all existing BlockDriverStates, while only one > BlockDriverState needs to be drained. > > This patch introduces the blk_drain() function and replaces > blk_drain_all() on it in virtio_blk_reset(). > > Cc: Christian Borntraeger <[email protected]> > Cc: Cornelia Huck <[email protected]> > Cc: Kevin Wolf <[email protected]> > Cc: Paolo Bonzini <[email protected]> > Cc: Stefan Hajnoczi <[email protected]> > Signed-off-by: Alexander Yarygin <[email protected]>
For the BlockBackend part: Acked-by: Kevin Wolf <[email protected]> The only thing that I could suggest is that if you respin, it would be cleaner to split this into two parts (as small as they may be). That you have an "and" in your subject line is a strong hint for this. Kevin
