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 /monitor.c | |
parent | c7c338c49712eceef0ef584249856928de30cb45 (diff) |
monitor: convert do_closefd() to QError
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'monitor.c')
-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) |