]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Translate the pool disk source when building drive string
authorOsier Yang <jyang@redhat.com>
Thu, 4 Apr 2013 19:37:57 +0000 (03:37 +0800)
committerOsier Yang <jyang@redhat.com>
Mon, 8 Apr 2013 10:54:17 +0000 (18:54 +0800)
commitdb94a1d3a03b8c9cf77d0af19321c11eb716f916
treed818cc4b8e60aa1d147b9e20e117533e603cf3e9
parent4bc331c8945152d8942a23383c3eb92da1bc4194
qemu: Translate the pool disk source when building drive string

This adds a new helper qemuTranslateDiskSourcePool which uses the
storage pool/vol APIs to translate the disk source before building
the drive string. Network volume is not supported yet. Disk chain
for volume type disk may be supported later, but before I'm confident
it doesn't break anything, it's just disabled now.
src/qemu/qemu_command.c
src/qemu/qemu_domain.c