Anthony PERARD 1898293990 xen-block: Use specific blockdev driver
... when a xen-block backend instance is created via xenstore.

Following 8d17adf34f50 ("block: remove support for using "file" driver
with block/char devices"), using the "file" blockdev driver for
everything doesn't work anymore, we need to use the "host_device"
driver when the disk image is a block device and "file" driver when it
is a regular file.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Paul Durrant <paul@xen.org>
Message-Id: <20210430163432.468894-1-anthony.perard@citrix.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
2021-05-10 13:43:58 +01:00
..
2021-05-05 13:52:00 +01:00
2021-05-05 13:52:00 +01:00
2021-05-05 20:29:14 +01:00
2021-05-05 20:29:14 +01:00
2021-05-05 20:29:14 +01:00
2021-05-05 20:29:14 +01:00
2020-12-10 12:15:08 -05:00
2021-05-05 13:52:00 +01:00
2020-08-21 06:30:33 -04:00
2020-08-21 06:30:33 -04:00