On Thu, Apr 23, 2020 at 05:17:05PM -0500, Eric Blake wrote: > There are several callers that need to create a new block backend from > an existing BDS; make the task slightly easier with a common helper > routine. > > Suggested-by: Max Reitz <mre...@redhat.com> > Signed-off-by: Eric Blake <ebl...@redhat.com> > --- > include/sysemu/block-backend.h | 2 ++ > block/block-backend.c | 23 +++++++++++++++++++++++ > block/crypto.c | 8 +++----- > block/parallels.c | 7 +++---- > block/qcow.c | 7 +++---- > block/qcow2.c | 15 ++++++--------- > block/qed.c | 7 +++---- > block/sheepdog.c | 9 ++++----- > block/vdi.c | 7 +++---- > block/vhdx.c | 7 +++---- > block/vmdk.c | 9 ++++----- > block/vpc.c | 7 +++---- > blockdev.c | 8 +++----- > blockjob.c | 7 ++----- > 14 files changed, 65 insertions(+), 58 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature