XM/XenAPI: Add blktap support when creating domains by xm through Xen API.

Signed-off-by: Yosuke Iwamatsu <y-iwamatsu@ab.jp.nec.com>
This commit is contained in:
Keir Fraser committed 2008-05-13 09:48:40 +01:00
1 parent 1c1827becb
commit 61341026d9
1 file changed
+1 -1
+1 -1
View File
@@ -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"])
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.