[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] XM/XenAPI: Add blktap support when creating domains by xm through Xen API.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1210668520 -3600 # Node ID 90022855084754ad7800478a71ce0d7310b2f0fb # Parent 3ea09a104f5a51bff2aaefc78df396bf6be945af XM/XenAPI: Add blktap support when creating domains by xm through Xen API. Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@xxxxxxxxxxxxx> --- tools/python/xen/xm/xenapi_create.py | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r 3ea09a104f5a -r 900228550847 tools/python/xen/xm/xenapi_create.py --- a/tools/python/xen/xm/xenapi_create.py Tue May 13 09:47:52 2008 +0100 +++ b/tools/python/xen/xm/xenapi_create.py Tue May 13 09:48:40 2008 +0100 @@ -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-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |