
24 Aug
2010
24 Aug
'10
7:31 p.m.
benian wrote:
Hi Jim, Thanks for your reply!
I use xm create to create a tap2 disk and it works well
disk = [ 'tap2:vhd:/root/tapdisk/vhd-f12,hda,w']
but virsh dumpxml can't get anything about the disk
After i apply the patch, i can catch <disk> information by virsh dumpxml but it seems that it only recognize "tap" only but not tap2
<disk type='file' device='disk'> <driver name='tap' type='vhd'/> <source file='/root/tapdisk/vhd-f12'/> <target dev='hda' bus='ide'/> </disk>
Afterwards i try to use this xml file to virsh create VM and no active disk is found.
Opps, I forgot to account for tap2 in functions that generate sexpr. V2 attached. Regards, Jim