diff options
author | Max Reitz <mreitz@redhat.com> | 2015-02-05 13:58:15 -0500 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2015-02-16 15:07:18 +0000 |
commit | 9a925356e3a109c412240721890c1e6c1a86d286 (patch) | |
tree | 8dadc9a4d0cd6f3d8ef927fc02e31c9f0d3507b1 /qemu-img.c | |
parent | e4342ce5a2bc7742c7193d1a3291ae513ca4857a (diff) |
block/xen: Use blk_new_open() in blk_connect()
As part of the required changes, this fixes a bug where specifying an
invalid driver would result in the block layer probing the image format;
now it will result in an error, unless "<unset>" is specified as the
driver name. Fixing this would require further work on the xen_disk code
which does not seem worth it (at this point and for this patch).
Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 1423162705-32065-7-git-send-email-mreitz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qemu-img.c')
0 files changed, 0 insertions, 0 deletions