Mailing List Archive

[xen-unstable] xend: support 'ioemu' subtype in tap protocol specification
# HG changeset patch
# User Keir Fraser <keir.fraser@citrix.com>
# 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@novell.com>
---
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@lists.xensource.com
http://lists.xensource.com/xen-changelog