xm: Add "tap2" to attach blocktap disks to VM
PATCH 1/1 xm: Add "tap2" to attach blocktap disks to VM
Hi,
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. This patch solves the problem.
Signed-off-by Masaki Kanno <[email protected]>
Best regards,
Kan
tools/python/xen/xm/xenapi_create.py +1 -1
@@ -594,7 +594,7 @@ 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"])
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel