summaryrefslogtreecommitdiffstats
path: root/meson_options.txt
diff options
context:
space:
mode:
authorAndrew Deason2022-04-26 21:55:26 +0200
committerMarc-André Lureau2022-05-04 10:00:46 +0200
commitc8ec041d0006ef3e930840f7c62869a1e44c5ced (patch)
treedcfaad70616147c9f5cb450aa065ad8b7b8ebe8a /meson_options.txt
parentqga/commands-posix: Log all net stats failures (diff)
downloadqemu-c8ec041d0006ef3e930840f7c62869a1e44c5ced.tar.gz
qemu-c8ec041d0006ef3e930840f7c62869a1e44c5ced.tar.xz
qemu-c8ec041d0006ef3e930840f7c62869a1e44c5ced.zip
qga/commands-posix: 'guest-shutdown' for Solaris
On Solaris, instead of the -P, -H, and -r flags, we need to provide the target init state to the 'shutdown' command: state 5 is poweroff, 0 is halt, and 6 is reboot. We also need to pass -g0 to avoid the default 60-second delay, and -y to avoid a confirmation prompt. Implement this logic under an #ifdef CONFIG_SOLARIS, so the 'guest-shutdown' command works properly on Solaris. Signed-off-by: Andrew Deason <adeason@sinenomine.net> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20220426195526.7699-6-adeason@sinenomine.net>
Diffstat (limited to 'meson_options.txt')
0 files changed, 0 insertions, 0 deletions