diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-10-12 14:15:33 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2020-10-21 05:00:44 +0200 |
commit | 90f8c0f947847e43e1315f03647a9039a458b1e1 (patch) | |
tree | a040fa89b849912d3d5fc50190933e6d5c9bbb0b /ui/gtk.c | |
parent | df7a1f48539580b47d6becf90c6489b4d7ebaa63 (diff) |
qapi: Restrict 'system wakeup/reset/powerdown' commands to machine.json
Restricting system_wakeup/system_reset/system_powerdown 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-3-philmd@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'ui/gtk.c')
-rw-r--r-- | ui/gtk.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -33,6 +33,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qapi/qapi-commands-control.h" +#include "qapi/qapi-commands-machine.h" #include "qapi/qapi-commands-misc.h" #include "qemu/cutils.h" |