]> xenbits.xensource.com Git - xen.git/commitdiff
xend: support 'ioemu' subtype in tap protocol specification
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 19 Apr 2010 07:59:14 +0000 (08:59 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 19 Apr 2010 07:59:14 +0000 (08:59 +0100)
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>
tools/python/xen/xend/server/BlktapController.py

index 48cd13e152f7909efb641d35e65bb42eab82ef7d..a34a2b82d7982b549fb2816d410b7ff6190413ec 100644 (file)
@@ -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')