XM/XenAPI: Add Blktap Support to XM on Xen API
PATCH 1/1 XM/XenAPI: Add Blktap Support to XM on Xen API
Only 'vbd' type devices are generated when creating domains by xm command through xen api.
This patch add 'tap' type devices support to xm on xenapi.
Regards,
-----------------------
Yosuke Iwamatsu
NEC Corporation
XM/XenAPI: Add blktap support when creating domains by xm through Xen API.
Signed-off-by Yosuke Iwamatsu <[email protected]>
tools/python/xen/xm/xenapi_create.py +1 -1
@@ -509,7 +509,7 @@ class sxp2xml: if len(child) > 0 and child[0] == "device"] vbds_sxp = map(lambda x: x[1], [device for device in devices - if device[1][0] == "vbd"]) + if device[1][0] in ("vbd", "tap")]) vifs_sxp = map(lambda x: x[1], [device for device in devices if device[1][0] == "vif"])
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel