]> git.proxmox.com Git - mirror_qemu.git/commit
qemu-error: remove dependency of stubs on monitor
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 24 Oct 2016 16:31:02 +0000 (18:31 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 1 Nov 2016 15:06:57 +0000 (16:06 +0100)
commit397d30e9401d2da96dbdf0ce49805d6d4bb68833
treeddf7d8155ff00678ab56f7b00aa33e136a649d64
parent9bc9732faeff09828fe38c0ebe2401ee131a6fca
qemu-error: remove dependency of stubs on monitor

Leave the implementation of error_vprintf and error_vprintf_unless_qmp
(the latter now trivially wrapped by error_printf_unless_qmp) to
libqemustub.a and monitor.c.  This has two advantages: it lets us
remove the monitor_printf and monitor_vprintf stubs, and it lets
tests provide a different implementation of the functions that uses
g_test_message.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1477326663-67817-2-git-send-email-pbonzini@redhat.com>
include/qemu/error-report.h
monitor.c
stubs/Makefile.objs
stubs/error-printf.c [new file with mode: 0644]
stubs/mon-printf.c [deleted file]
util/qemu-error.c