These patches are based on code
https://www.redhat.com/archives/libvir-list/2013-July/msg01741.html

The set of patches is trying to add 'startupPolicy' support for guest
hard disks.

For the 'optional' policy, there is a little difference from CDROM and
Floppy which only drop its source path, for disks, if missing, the
checking function will drop their definitions, because qemu doesn't
allow missing source path for hard disk. migration is not supported yet.

Guannan Ren(2)
 [PATCH v5 1/2] conf: add startupPolicy attribute for harddisk
 [PATCH v5 2/2] qemu: support to drop disk with 'optional' startupPolicy

 docs/formatdomain.html.in     |  8 ++++++--
 docs/schemas/domaincommon.rng |  6 ++++++
 include/libvirt/libvirt.h.in  |  1 +
 src/conf/domain_conf.c        | 31 +++++++++++++++++++++++--------
 src/qemu/qemu_domain.c        | 77 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------
 5 files changed, 97 insertions(+), 26 deletions(-)

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to