WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] [xend] support 'ioemu' subtype in tap protocol specification
From: Jim Fehlig <jfehlig@xxxxxxxxxx>
Date: Fri, 16 Apr 2010 12:10:25 -0600
Delivery-date: Sun, 18 Apr 2010 08:25:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.18 (X11/20081112)
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] [xend] support 'ioemu' subtype in tap protocol specification, Jim Fehlig <=