From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Fehlig Subject: [PATCH] [xend] support 'ioemu' subtype in tap protocol specification Date: Fri, 16 Apr 2010 12:10:25 -0600 Message-ID: <4BC8A811.30807@novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------020207050802090208080204" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------020207050802090208080204 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --------------020207050802090208080204 Content-Type: text/x-patch; name="ioemu-subtype.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ioemu-subtype.patch" 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') --------------020207050802090208080204 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------020207050802090208080204--