aboutsummaryrefslogtreecommitdiff
path: root/qmp-commands.hx
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2011-04-29 12:11:50 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2011-06-01 11:42:25 -0300
commite9b4b432e781863869b074d46966bfa0bd672b8f (patch)
treec7a503e5d170876cdb0f047cf15ff21138899187 /qmp-commands.hx
parenta404666457b54142d6cfe8302bcded9be4cda379 (diff)
downloadqemu-e9b4b432e781863869b074d46966bfa0bd672b8f.zip
qemu-e9b4b432e781863869b074d46966bfa0bd672b8f.tar.gz
qemu-e9b4b432e781863869b074d46966bfa0bd672b8f.tar.bz2
HMP: Use QMP inject nmi implementation
This **CHANGES** the human monitor "nmi" command behavior. Currently it accepts an CPU argument which, when provided, will send the NMI to the specified CPU. This feature is of discussable value though and HMP shouldn't have more features than QMP, so let's use QMP's instead (it's also simpler). Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qmp-commands.hx')
-rw-r--r--qmp-commands.hx2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmp-commands.hx b/qmp-commands.hx
index ae08b7a59..92c5c3a 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -435,7 +435,7 @@ EQMP
.params = "",
.help = "",
.user_print = monitor_user_noop,
- .mhandler.cmd_new = do_inject_nmi_all,
+ .mhandler.cmd_new = do_inject_nmi,
},
SQMP