diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-10-12 14:15:32 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2020-10-21 05:00:44 +0200 |
commit | df7a1f48539580b47d6becf90c6489b4d7ebaa63 (patch) | |
tree | 5c5b3364783637d8a2d68ebd02887171e745646d /softmmu/cpus.c | |
parent | 4c41341af76cfc85b5a6c0f87de4838672ab9f89 (diff) | |
download | qemu-df7a1f48539580b47d6becf90c6489b4d7ebaa63.zip qemu-df7a1f48539580b47d6becf90c6489b4d7ebaa63.tar.gz qemu-df7a1f48539580b47d6becf90c6489b4d7ebaa63.tar.bz2 |
qapi: Restrict 'inject-nmi' command to machine code
Restricting 'inject-nmi' to machine.json pulls slightly
less QAPI-generated code into user-mode and tools.
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20201012121536.3381997-2-philmd@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'softmmu/cpus.c')
-rw-r--r-- | softmmu/cpus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/softmmu/cpus.c b/softmmu/cpus.c index 47ccedd..e46ac68 100644 --- a/softmmu/cpus.c +++ b/softmmu/cpus.c @@ -26,6 +26,7 @@ #include "qemu-common.h" #include "monitor/monitor.h" #include "qapi/error.h" +#include "qapi/qapi-commands-machine.h" #include "qapi/qapi-commands-misc.h" #include "qapi/qapi-events-run-state.h" #include "qapi/qmp/qerror.h" |