commit | 8470f446e4011bf6bfc02ab058dcfa4c80af805f | [log] [tgz] |
---|---|---|
author | Shintaro Kawamura <kawasin@google.com> | Thu May 25 11:55:56 2023 +0900 |
committer | crosvm LUCI <crosvm-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 26 01:39:56 2023 +0000 |
tree | b6392b98ee5da4f9593fdc2f32b0fca2259aa954 | |
parent | 1a00bde75fda86c377562e5f16016c9fbbb596b0 [diff] |
swap: move UffdList into a single file We will add unit tests for UffdList. Having a single file for UffdList is easier to write unit tests. This adds a minor refactoring to register the main uffd to WaitContext within UffdList logic. Also removed the comment for the main uffd registeration due to blocking on fork because it is obsolete since we don't use the fork feature of userfaultfd(2). BUG=b:266898615 TEST=./tools/run_tests2 Change-Id: I53f6d9944d282f7a7528dd6882cd7527031af1b8 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4562368 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Ningyuan Wang <ningyuan@google.com> Commit-Queue: Shin Kawamura <kawasin@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.