[libvirt] [PATCH 0/2] Break out virDomainObjIsDuplicate function

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

 



Code to check for a VM duplicate in create/define/restore is present in
various forms throughout several drivers. Break this code out into its
own function (virDomainObjIsDuplicate) and use where applicable.

Cole Robinson (2):
  qemu: Break out function to check if we can create/define/restore
  qemu: Use same create/define overwrite logic for migration prepare.

 src/conf/domain_conf.c   |   64 ++++++++++++++++++++++
 src/conf/domain_conf.h   |    4 ++
 src/libvirt_private.syms |    1 +
 src/lxc/lxc_driver.c     |   68 ++---------------------
 src/qemu/qemu_driver.c   |  132 ++++-----------------------------------------
 src/test/test_driver.c   |   14 +++++-
 src/uml/uml_driver.c     |   20 ++------
 7 files changed, 104 insertions(+), 199 deletions(-)

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

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]