[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xend: support 'ioemu' subtype in tap protocol specification



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1271663954 -3600
# Node ID 551a8406e840ba575995b69ea5da49b8eba1d9a4
# Parent  ae1abcdd4a670e34509e39d5280834a75afc0f6a
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@xxxxxxxxxx>
---
 tools/python/xen/xend/server/BlktapController.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r ae1abcdd4a67 -r 551a8406e840 
tools/python/xen/xend/server/BlktapController.py
--- a/tools/python/xen/xend/server/BlktapController.py  Mon Apr 19 08:58:43 
2010 +0100
+++ b/tools/python/xen/xend/server/BlktapController.py  Mon Apr 19 08:59:14 
2010 +0100
@@ -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')

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.