From 84bd8799daad318091bcfc3c6652a7e2a4952015 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 21 Apr 2010 08:35:41 +0100 Subject: [PATCH] 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 xen-unstable changeset: 21194:551a8406e840 xen-unstable date: Mon Apr 19 08:59:14 2010 +0100 --- tools/python/xen/xend/server/BlktapController.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/server/BlktapController.py b/tools/python/xen/xend/server/BlktapController.py index 48cd13e152..a34a2b82d7 100644 --- a/tools/python/xen/xend/server/BlktapController.py +++ b/tools/python/xen/xend/server/BlktapController.py @@ -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')