[libvirt] [PATCH 2/5] qemu: Turn qemuDomainLogContext into virObject

Michal Privoznik mprivozn at redhat.com
Mon Apr 10 12:52:16 UTC 2017


On 04/03/2017 10:24 AM, Marc Hartmayer wrote:
> This way qemuDomainLogContextRef() and qemuDomainLogContextFree() is
> no longer needed. The naming qemuDomainLogContextFree() was also
> somewhat misleading. Additionally, it's easier to turn
> qemuDomainLogContext in a self-locking object.
>
> Signed-off-by: Marc Hartmayer <mhartmay at linux.vnet.ibm.com>
> Reviewed-by: Bjoern Walk <bwalk at linux.vnet.ibm.com>
> ---
>  src/qemu/qemu_domain.c  | 72 ++++++++++++++++++++++++++-----------------------
>  src/qemu/qemu_domain.h  |  2 --
>  src/qemu/qemu_process.c | 10 +++----
>  3 files changed, 44 insertions(+), 40 deletions(-)


Ha ha, why we've had reimplemeneted virObject anyway? :-) Nice catch.

Michal




More information about the libvir-list mailing list