[libvirt] [ISSUE go-xml] go-xml does NOT support DomainDisk marshal

ZhenweiPi zhenwei.pi at youruncloud.com
Sat Jun 3 03:27:19 UTC 2017


In the case of disk hot-plug, we need a xml like this :

/<disk type="file" device="disk">//
//  <driver name="qemu" type="qcow2"/>//
//  <source file="/root/vda.qcow2"/>//
//  <target dev="vda" bus="virtio"/>//
//  <address type='pci' domain='0x0000' bus='1' slot='20' function='0x0'/>//

For now, go-xml does not support DomainDisk marshal.

Any good idea ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170603/cedc8116/attachment-0001.htm>

More information about the libvir-list mailing list