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

Re: [libvirt] [PATCH 3/3] Do not check for domain liveness in virDomainObjSetDefTransient



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

Attachment: signature.asc
Description: Digital signature


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