aboutsummaryrefslogtreecommitdiff
path: root/hmp.c
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2011-11-23 12:55:53 -0200
committerLuiz Capitulino <lcapitulino@redhat.com>2011-12-06 11:40:01 -0200
commitab49ab5c488237f3656689c4a3cab29e29884ca6 (patch)
tree36dd484fc159f7f54d3c7796b3b0ca28beaf04ad /hmp.c
parente42e818bf45f2f70cdd88a3864efcc3964039f37 (diff)
downloadqemu-ab49ab5c488237f3656689c4a3cab29e29884ca6.zip
qemu-ab49ab5c488237f3656689c4a3cab29e29884ca6.tar.gz
qemu-ab49ab5c488237f3656689c4a3cab29e29884ca6.tar.bz2
qapi: Convert inject-nmi
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hmp.c')
-rw-r--r--hmp.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/hmp.c b/hmp.c
index d623526..0ebc398 100644
--- a/hmp.c
+++ b/hmp.c
@@ -593,3 +593,11 @@ void hmp_cont(Monitor *mon, const QDict *qdict)
hmp_handle_error(mon, &errp);
}
}
+
+void hmp_inject_nmi(Monitor *mon, const QDict *qdict)
+{
+ Error *errp = NULL;
+
+ qmp_inject_nmi(&errp);
+ hmp_handle_error(mon, &errp);
+}