[libvirt PATCH] virgdbus: fix getting non-shared DBus connection

Ján Tomko jtomko at redhat.com
Mon Nov 9 16:46:25 UTC 2020


On a Monday in 2020, Pavel Hrdina wrote:
>We need to pass some flags in order to properly initialize the
>connection otherwise it will not work. This copies what GLib does
>for g_bus_get_sync() internally.
>
>This fixes an issue with LXC driver where libvirt was not able to
>register any VM with machined.
>
>Reported-by: Matthias Maier <tamiko at gentoo.org>
>Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
>---
> src/util/virgdbus.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20201109/53cb03f1/attachment-0001.sig>


More information about the libvir-list mailing list