[libvirt] [PATCH 02/11] Replace virDomainFree with virObjectUnref
Peter Krempa
pkrempa at redhat.com
Tue Dec 2 15:08:10 UTC 2014
On 12/01/14 16:56, John Ferlan wrote:
> Since virDomainFree will call virObjectUnref anyway, let's just use that
> directly so as to avoid the possibility that we inadvertently clear out
> a pending error message when using the public API.
>
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
> cfg.mk | 12 ++++
> daemon/remote.c | 131 +++++++++++++++----------------------------
> src/conf/domain_event.c | 4 +-
> src/esx/esx_driver.c | 2 +-
> src/hyperv/hyperv_driver.c | 2 +-
> src/locking/sanlock_helper.c | 3 +-
> src/qemu/qemu_driver.c | 2 +-
> src/remote/remote_driver.c | 45 ++++++++-------
> src/vbox/vbox_common.c | 6 +-
> 9 files changed, 86 insertions(+), 121 deletions(-)
>
ACK, the remote driver was okay regarding rewriting of the error,
although few of the *ListAllDomain functions might have the error
overwritten.
Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20141202/1aacb1f4/attachment-0001.sig>
More information about the libvir-list
mailing list