qapi: Restrict 'system wakeup/reset/powerdown' commands to machine.json
commit90f8c0f947847e43e1315f03647a9039a458b1e1
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Mon, 12 Oct 2020 12:15:33 +0000 (12 14:15 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 21 Oct 2020 03:00:44 +0000 (21 05:00 +0200)
treea040fa89b849912d3d5fc50190933e6d5c9bbb0b
parentdf7a1f48539580b47d6becf90c6489b4d7ebaa63
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>
qapi/machine.json
qapi/misc.json
ui/cocoa.m
ui/gtk.c