summaryrefslogtreecommitdiff
path: root/stubs/error-printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'stubs/error-printf.c')
-rw-r--r--stubs/error-printf.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/stubs/error-printf.c b/stubs/error-printf.c
new file mode 100644
index 0000000000..56379e648d
--- /dev/null
+++ b/stubs/error-printf.c
@@ -0,0 +1,13 @@
+#include "qemu/osdep.h"
+#include "qemu-common.h"
+#include "qemu/error-report.h"
+
+void error_vprintf(const char *fmt, va_list ap)
+{
+ vfprintf(stderr, fmt, ap);
+}
+
+void error_vprintf_unless_qmp(const char *fmt, va_list ap)
+{
+ error_vprintf(fmt, ap);
+}