]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Remove incorrectly used TODO macro
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 5 Jul 2017 10:24:48 +0000 (11:24 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 11 Jul 2017 12:57:11 +0000 (13:57 +0100)
commit1dbbcb629a9edbc1ab1b0fb5bbdbe1878e9e15b8
treed303f1cdb82694e30a876487c7b717ce5a7954de
parentd8f8c7a83ddf29875028495dcdedcfe6de975e93
Remove incorrectly used TODO macro

The TODO macro expands to an fprintf() call and is used in several
places in the Xen driver. Anything that wishes to print such debug
messages should use the logging macros. In this case though, all the
places in the Xen driver should have been raising a formal libvirt
error instead. Add proper error handling and delete the TODO macro
to prevent future misuse.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/internal.h
src/xen/xen_hypervisor.c
src/xen/xend_internal.c