From ab49ab5c488237f3656689c4a3cab29e29884ca6 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Wed, 23 Nov 2011 12:55:53 -0200 Subject: qapi: Convert inject-nmi Signed-off-by: Luiz Capitulino --- hmp.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'hmp.c') 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); +} -- cgit v1.1