Am 19.10.2011 16:59, schrieb Paolo Bonzini: > Since coroutine operation is now mandatory, convert both bdrv_discard > implementations to coroutines. For qcow2, this means taking the lock > around the operation. raw-posix remains synchronous. > > The bdrv_discard callback is then unused and can be eliminated. > > Signed-off-by: Paolo Bonzini <pbonz...@redhat.com>
Reviewed-by: Kevin Wolf <kw...@redhat.com>