commit | ab49ab5c488237f3656689c4a3cab29e29884ca6 | [log] [tgz] |
---|---|---|
author | Luiz Capitulino <lcapitulino@redhat.com> | Wed Nov 23 12:55:53 2011 -0200 |
committer | Luiz Capitulino <lcapitulino@redhat.com> | Tue Dec 06 11:40:01 2011 -0200 |
tree | 36dd484fc159f7f54d3c7796b3b0ca28beaf04ad | |
parent | e42e818bf45f2f70cdd88a3864efcc3964039f37 [diff] [blame] |
qapi: Convert inject-nmi Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
diff --git a/hmp.c b/hmp.c index d623526..0ebc398 100644 --- a/hmp.c +++ b/hmp.c
@@ -593,3 +593,11 @@ 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); +}