[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH v5 0/2] add startupPolicy support for harddisks

These patches are based on code

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(-)

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]