summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2009-12-07 21:37:11 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-07 16:34:35 -0600
commit063c1a0918d5a08f7ba89300d022b3421174fbf7 (patch)
tree9af3e3ccc4bffdbbbf231871eec82f829b7923e0
parentc7c338c49712eceef0ef584249856928de30cb45 (diff)
downloadqemu-063c1a0918d5a08f7ba89300d022b3421174fbf7.tar.gz
qemu-063c1a0918d5a08f7ba89300d022b3421174fbf7.tar.bz2
qemu-063c1a0918d5a08f7ba89300d022b3421174fbf7.zip
monitor: convert do_closefd() to QError
Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--monitor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/monitor.c b/monitor.c
index b3a58b69fa..91cb2ce359 100644
--- a/monitor.c
+++ b/monitor.c
@@ -2121,8 +2121,7 @@ static void do_closefd(Monitor *mon, const QDict *qdict, QObject **ret_data)
return;
}
- monitor_printf(mon, "Failed to find file descriptor named %s\n",
- fdname);
+ qemu_error_new(QERR_FD_NOT_FOUND, fdname);
}
static void do_loadvm(Monitor *mon, const QDict *qdict)