commit | f75699f59cbe6b752210cdec15932b59997de1ab | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dtor@chromium.org> | Fri Dec 03 11:19:13 2021 -0800 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Dec 08 06:33:02 2021 +0000 |
tree | 0ebf4435729e6047ae9d604908085e3f4c9ec988 | |
parent | d05fc4e6f4008d059bb6eac74b705af0e4042085 [diff] |
crosvm: return 32 exit code when guest issues reset request Instead of returning 0 for both shutdown and reset/reboot, let's have shutdown continue returning 0, but reset will now return 32 exit code, so that callers will have an option to handle this case differently. BUG=b:3169569 TEST=Examine crosvm exit codes when resetting and shutting down VM Change-Id: I2c7c11b7f8c8528744f7e25e5d17c6fa9810f409 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3316835 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Dmitry Torokhov <dtor@chromium.org>
crosvm is a virtual machine monitor (VMM) based on Linux’s KVM hypervisor, with a focus on simplicity, security, and speed. crosvm is intended to run Linux guests, originally as a security boundary for running native applications on the Chrome OS platform. Compared to QEMU, crosvm doesn’t emulate architectures or real hardware, instead concentrating on paravirtualized devices, such as the virtio standard.
crosvm is currently used to run Linux/Android guests on Chrome OS devices.