Lai Jiangshan <la...@cn.fujitsu.com> writes:

> Make we can inject NMI via qemu-monitor-protocol.
> We use "inject-nmi" for the qmp command name, the meaning is clearer.
> When cpu-index is found invalid in runtime, it will report
> QERR_INVALID_PARAMETER_VALUE.

This patch does two separate things:

1. Fix do_inject_nmi() to detect invalid arguments.

2. Convert it to QObject.

If you have to respin anyway, please split the patch to keep the two
separate.

Reply via email to