diff options
| author | Max Reitz | 2015-02-05 19:58:15 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi | 2015-02-16 16:07:18 +0100 |
| commit | 9a925356e3a109c412240721890c1e6c1a86d286 (patch) | |
| tree | 8dadc9a4d0cd6f3d8ef927fc02e31c9f0d3507b1 /scripts/switch-timer-api | |
| parent | blockdev: Use blk_new_open() in blockdev_init() (diff) | |
| download | qemu-9a925356e3a109c412240721890c1e6c1a86d286.tar.gz qemu-9a925356e3a109c412240721890c1e6c1a86d286.tar.xz qemu-9a925356e3a109c412240721890c1e6c1a86d286.zip | |
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 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
