Now I want to get qemu:commandline XML content in Libvirt,and then do my own job,but I do not know how to do it.Can you help me??
thank you !
the xml content is follows:
<qemu:commandline>
<qemu:arg value='-enable-kvm'/>
<qemu:arg value='-drive'/>
<qemu:arg value='file=/root/nvram_2.0-jin.qcow2,if=none,id=nvram0-0-0,format=qcow2'/>
<qemu:arg value='-device'/>
<qemu:arg value='tpm-tis,tpmdev=tpm-tpm0,id=tpm0'/>
<qemu:arg value='-tpmdev'/>
<qemu:arg value='libtpms,id=tpm-tpm0,nvram=nvram0-0-0,startup=clear'/>
<qemu:arg value='-bios'/>
<qemu:arg value='/root/xenSeabios/out/bios.bin'/>
</qemu:commandline>
Now I want to get third file path,how can I get it ??
thanks very much!!