mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
xend: support 'ioemu' subtype in tap protocol specification
blktapctrl supports both 'tapdisk' and 'ioemu' subtypes in tap protocol specification. Support the 'ioemu' subtype in xend BlktapController as well. Signed-off-by: Jim Fehlig <jfehlig@novell.com>
This commit is contained in:
1 parent
fc9e443321
commit
04dffa0be9
1 file changed
+1
-1
@@ -189,7 +189,7 @@ class Blktap2Controller(BlktapController):
|
||||
blktap2_installed=1;
|
||||
|
||||
if typ in ('tap'):
|
||||
if subtyp in ('tapdisk'):
|
||||
if subtyp in ('tapdisk', 'ioemu'):
|
||||
if params not in blktap2_disk_types or not blktap2_installed:
|
||||
# pass this device off to BlktapController
|
||||
log.warn('WARNING: using deprecated blktap module')
|
||||
|
||||