[libvirt] [PATCH 3/3] Do not check for domain liveness in virDomainObjSetDefTransient
Peter Krempa
pkrempa at redhat.com
Tue May 31 13:26:09 UTC 2016
On Fri, May 27, 2016 at 17:45:15 +0200, Ján Tomko wrote:
> Remove the live attribute and mark the definition as transient
> whether the domain is runing or not.
>
> There were only two callers left calling with live=false:
> * testDomainStartState, where the domain already is active
> because we assigned vm->def->id just a few lines above the call
> * virDomainObjGetPersistentDef, which now only calls
> virDomainObjSetDefTransient for an active domain
> ---
> src/conf/domain_conf.c | 14 +++-----------
> src/conf/domain_conf.h | 3 +--
> src/libxl/libxl_domain.c | 3 +--
> src/lxc/lxc_process.c | 2 +-
> src/qemu/qemu_process.c | 4 ++--
> src/test/test_driver.c | 2 +-
> src/uml/uml_driver.c | 3 +--
> 7 files changed, 10 insertions(+), 21 deletions(-)
ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160531/1cdca164/attachment-0001.sig>
More information about the libvir-list
mailing list