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

[Xen-devel] [PATCH] [xend] support 'ioemu' subtype in tap protocol specification


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Jim Fehlig <jfehlig@xxxxxxxxxx>
  • Date: Fri, 16 Apr 2010 12:10:25 -0600
  • Delivery-date: Sun, 18 Apr 2010 08:25:22 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

blktapctrl supports both 'tapdisk' and 'ioemu' subtypes in tap protocol
specification.  Support the 'ioemu' subtype in xend BlktapController as
well.

Regards,
Jim

    Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxxxx>

diff -r c02cc832cb2d tools/python/xen/xend/server/BlktapController.py
--- a/tools/python/xen/xend/server/BlktapController.py  Tue Apr 13 18:19:33 
2010 +0100
+++ b/tools/python/xen/xend/server/BlktapController.py  Fri Apr 16 12:05:39 
2010 -0600
@@ -189,7 +189,7 @@
             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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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