]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Ensure LXC/QEMU APIs set the filename for errors
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 2 Aug 2013 11:15:15 +0000 (12:15 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 2 Aug 2013 14:32:26 +0000 (15:32 +0100)
commitcb3868f701bda3e3f71f9161b4a7f19106600fa6
treecb525c2deb1a993d096318b440cf13a8349fbdf7
parent311eae8257e87639f77c34fbcb4729c302ca2056
Ensure LXC/QEMU APIs set the filename for errors

The virLibConnError macros in libvirt-lxc.c and
libvirt-qemu.c were passing NULL for the filename.
This causes a crash if the logging code is configured
to use journald.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/libvirt-lxc.c
src/libvirt-qemu.c