]> git.ipfire.org Git - thirdparty/libvirt.git/commit
systemd: avoid string comparisons on dbus error messages
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 22 Jan 2015 16:50:33 +0000 (16:50 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 26 Jan 2015 09:14:04 +0000 (09:14 +0000)
commit2d8b59c06007a50c93451a8bc7bfaee3926dc5a2
treea127ccfbde6f135f65b3ffa5e7cde06b0b0693cc
parentd13b586a9113c2c3f3f541a82865458bbebdf2a0
systemd: avoid string comparisons on dbus error messages

Add a virDBusErrorIsUnknownMethod helper so that callers
don't need todo string comparisons themselves to detect
standard error names.
src/libvirt_private.syms
src/util/virdbus.c
src/util/virdbus.h
src/util/virsystemd.c