On 10/20/2016 08:46 AM, Kevin Wolf wrote: > All read/write functions already have a single coroutine-based function > on the BlockBackend level through which all requests go (no matter what > API style the external caller used) and which passes the requests down > to the block node level. > > This patch extends this mode of operation to discards. > > Signed-off-by: Kevin Wolf > --- > block/block-backend.c | 30 ++++++++++++++++++------------ > 1 file changed, 18 insertions(+), 12 deletions(-) > Reviewed-by: Eric Blake -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org