aboutsummaryrefslogtreecommitdiff
path: root/qemu-monitor.hx
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-03-26 09:07:11 +0100
committerAurelien Jarno <aurelien@aurel32.net>2010-04-18 23:55:19 +0200
commit5369e3c0b8997210a2558191d8451775f7643683 (patch)
tree47e8a4360fa1bd2e00fdb8469529cdd9e4d6cddf /qemu-monitor.hx
parentc9b26a4cbe1e3ce71521b8a1ff0483f4cc4fa4bf (diff)
monitor: Convert do_set_link() to QObject, QError
Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qemu-monitor.hx')
-rw-r--r--qemu-monitor.hx3
1 files changed, 2 insertions, 1 deletions
diff --git a/qemu-monitor.hx b/qemu-monitor.hx
index 7b7dcf545a..62fa3465b3 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -989,7 +989,8 @@ ETEXI
.args_type = "name:s,up:b",
.params = "name on|off",
.help = "change the link status of a network adapter",
- .mhandler.cmd = do_set_link,
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_set_link,
},
STEXI