mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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:
1 parent
1c1827becb
commit
61341026d9
1 file changed
+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"])
|
||||
|
||||