On Wed, May 13, 2020 at 01:57:17PM +0200, Rafael Fonseca wrote:
Signed-off-by: Rafael Fonseca <r4f4rfs(a)gmail.com>
---
src/libxl/libxl_conf.c | 51 ++++++------
src/libxl/libxl_conf.h | 12 ++-
src/libxl/libxl_driver.c | 162 ++++++++++++------------------------
src/libxl/libxl_migration.c | 21 ++---
tests/testutilsxen.c | 2 +-
5 files changed, 96 insertions(+), 152 deletions(-)
diff --git a/src/libxl/libxl_conf.c b/src/libxl/libxl_conf.c
index 2a719486fa..7684c4cb4b 100644
--- a/src/libxl/libxl_conf.c
+++ b/src/libxl/libxl_conf.c
This file needs
diff --git a/src/libxl/libxl_conf.c b/src/libxl/libxl_conf.c
index 7684c4cb4b..2cc3165a0a 100644
--- a/src/libxl/libxl_conf.c
+++ b/src/libxl/libxl_conf.c
@@ -1821,7 +1821,7 @@ libxlDriverConfigGet(libxlDriverPrivatePtr driver)
libxlDriverConfigPtr cfg;
libxlDriverLock(driver);
- cfg = virObjectRef(driver->config);
+ cfg = g_object_ref(driver->config);
libxlDriverUnlock(driver);
return cfg;
}
Regards,
Daniel
--
|:
https://berrange.com -o-
https://www.flickr.com/photos/dberrange :|
|:
https://libvirt.org -o-
https://fstop138.berrange.com :|
|:
https://entangle-photo.org -o-
https://www.instagram.com/dberrange :|