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 <borntrae...@de.ibm.com> > Cc: Cornelia Huck <cornelia.h...@de.ibm.com> > Cc: Kevin Wolf <kw...@redhat.com> > Cc: Paolo Bonzini <pbonz...@redhat.com> > Cc: Stefan Hajnoczi <stefa...@redhat.com> > Signed-off-by: Alexander Yarygin <yary...@linux.vnet.ibm.com>
For the BlockBackend part: Acked-by: Kevin Wolf <kw...@redhat.com> 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