From d6f468337aba7eeeab0c7a772eda7491eb432cca Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Wed, 17 Feb 2010 10:52:26 +0100 Subject: monitor: Factor monitor_set_error() out of qemu_error_internal() This separates the monitor part from the QError part. --- monitor.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'monitor.h') diff --git a/monitor.h b/monitor.h index 8c32ea0af..cf3b3790c 100644 --- a/monitor.h +++ b/monitor.h @@ -3,6 +3,7 @@ #include "qemu-common.h" #include "qemu-char.h" +#include "qerror.h" #include "qdict.h" #include "block.h" @@ -49,4 +50,6 @@ void monitor_flush(Monitor *mon); typedef void (MonitorCompletion)(void *opaque, QObject *ret_data); +void monitor_set_error(Monitor *mon, QError *qerror); + #endif /* !MONITOR_H */ -- cgit v1.2.3