mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
xm: Add "tap2" to attach blocktap disks to VM
I detected a problem when using XenAPI. When I started a VM by using xm create command, blocktap disks were not attached to the VM. Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
This commit is contained in:
1 parent
28807cd268
commit
4dd7eb9f09
1 file changed
+1
-1
@@ -594,7 +594,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] in ("vbd", "tap")])
|
||||
if device[1][0] in ("vbd", "tap", "tap2")])
|
||||
|
||||
vifs_sxp = map(lambda x: x[1], [device for device in devices
|
||||
if device[1][0] == "vif"])
|
||||
|
||||