aboutsummaryrefslogtreecommitdiff
path: root/stubs/mon-printf.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-10-24 18:31:02 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2016-11-01 16:06:57 +0100
commit397d30e9401d2da96dbdf0ce49805d6d4bb68833 (patch)
treeddf7d8155ff00678ab56f7b00aa33e136a649d64 /stubs/mon-printf.c
parent9bc9732faeff09828fe38c0ebe2401ee131a6fca (diff)
downloadqemu-397d30e9401d2da96dbdf0ce49805d6d4bb68833.zip
qemu-397d30e9401d2da96dbdf0ce49805d6d4bb68833.tar.gz
qemu-397d30e9401d2da96dbdf0ce49805d6d4bb68833.tar.bz2
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>
Diffstat (limited to 'stubs/mon-printf.c')
-rw-r--r--stubs/mon-printf.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/stubs/mon-printf.c b/stubs/mon-printf.c
deleted file mode 100644
index e7c1e0c..0000000
--- a/stubs/mon-printf.c
+++ /dev/null
@@ -1,11 +0,0 @@
-#include "qemu/osdep.h"
-#include "qemu-common.h"
-#include "monitor/monitor.h"
-
-void monitor_printf(Monitor *mon, const char *fmt, ...)
-{
-}
-
-void monitor_vprintf(Monitor *mon, const char *fmt, va_list ap)
-{
-}