commit | 360f1c75ed90c10367cd183d84efef6643e4dd1d | [log] [tgz] |
---|---|---|
author | Elie Kheirallah <khei@google.com> | Thu Apr 25 23:36:52 2024 +0000 |
committer | Elie Kheirallah <khei@google.com> | Mon Apr 29 21:04:48 2024 +0000 |
tree | 79aad1f950ad997b327087f977dbbed2e30f3fd3 | |
parent | b644b7e5879df0dcc65a542102c768d64aa51b84 [diff] |
CHERRY-PICK: hypervisor: x86: kvm: change TSC once during restore Initially, time was not being restored in the VM unless we restore the offset. This was possibly due to a different bug, where we weren't restoring all the MSRs. https://chromium.googlesource.com/crosvm/crosvm/+/5441c064e55179d69507c98cceac1750830fa60e Bug:327278462 Test: boot crosvm. snapshot. restore. check time of VM == time of snapshot. Test: boot CF, snapshot CF. Restore CF. Change-Id: I2d4b6d7beba6c40fd37635b5f108559f65c6dd9f Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5492298 Reviewed-by: Steven Moreland <smoreland@google.com> Auto-Submit: Elie Kheirallah <khei@google.com> Reviewed-by: Frederick Mayle <fmayle@google.com> Commit-Queue: Elie Kheirallah <khei@google.com>
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 ChromeOS 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 ChromeOS devices.