]> xenbits.xensource.com Git - libvirt.git/commit
qemu: support to drop disk with 'optional' startupPolicy
authorGuannan Ren <gren@redhat.com>
Wed, 7 Aug 2013 07:11:15 +0000 (15:11 +0800)
committerGuannan Ren <gren@redhat.com>
Wed, 7 Aug 2013 07:11:15 +0000 (15:11 +0800)
commit8a160f11afe916284c569d4c23adb24f755e459e
tree71c6e229ae98422dcd7d8740a028777844c4780f
parent93319da42cd1a23245577dda244998f1ff725703
qemu: support to drop disk with 'optional' startupPolicy

Go through disks of guest, if one disk doesn't exist or its backing
chain is broken, with 'optional' startupPolicy, for CDROM and Floppy
we only discard its source path definition in xml, for disks we drop
it from disk list and free it.
include/libvirt/libvirt.h.in
src/qemu/qemu_domain.c