diff options
author | Markus Armbruster <armbru@redhat.com> | 2009-12-07 21:37:11 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-07 16:34:35 -0600 |
commit | 063c1a0918d5a08f7ba89300d022b3421174fbf7 (patch) | |
tree | 9af3e3ccc4bffdbbbf231871eec82f829b7923e0 | |
parent | c7c338c49712eceef0ef584249856928de30cb45 (diff) | |
download | qemu-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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) |