blktapctrl: Select backend by prefix

This patch adds support for specifying the backend (tapdisk or ioemu)
to blktapctrl. Images can be specified e.g. as tap:tapdisk:aio,
tap:ioemu:qcow2 or tap:vmdk. When omitting the backend, a default is
chosen based on the image type (currently always tapdisk because ioemu
as a backend is broken until a follow-up patch series against qemu-xen
is applied)

Signed-off-by: Kevin Wolf <kwolf@suse.de>
This commit is contained in:
Keir Fraser committed 2009-03-12 18:42:31 +00:00
1 parent 6dde5f55da
commit 8b173f5236
3 files changed
+40 -18

No files matched your search

@@ -15,7 +15,8 @@ blktap_disk_types = [
'qcow',
'qcow2',
'ioemu'
'ioemu',
'tapdisk',
]
class BlktapController(BlkifController):
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.