commit | ddbb57d355835b12eac72ae4150ed81348aba6f8 | [log] [tgz] |
---|---|---|
author | Daniel Verkamp <dverkamp@chromium.org> | Tue May 17 16:49:15 2022 -0700 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 18 17:47:05 2022 +0000 |
tree | c60873c2efe736c6cf1594a42ea4d86afcf59639 | |
parent | 6fd2272510496a99a511237da07d1e5d95626e83 [diff] |
base: unix: timer: factor out timerfd_settime call Deduplicate the unsafe block and the update of interval into a helper function so that reset() and clear() can be greatly simplified. BUG=None TEST=tools/presubmit --all Change-Id: Ic0210bc3dd2239b575d47f718709333bce842509 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3653256 Reviewed-by: Anton Romanov <romanton@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@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.