diff options
author | Steven Richman <srichman@google.com> | 2020-05-13 17:22:33 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-06-03 12:32:41 +0000 |
commit | 1d6967437edc98716e545b82a28c788febfbe79a (patch) | |
tree | 45a1fd559229912614a1082295171bde0788bfa2 /msg_socket/src/msg_on_socket/tuple.rs | |
parent | ee215426f4e61474aea546b5c0b6c1f1040d5344 (diff) | |
download | crosvm-1d6967437edc98716e545b82a28c788febfbe79a.tar crosvm-1d6967437edc98716e545b82a28c788febfbe79a.tar.gz crosvm-1d6967437edc98716e545b82a28c788febfbe79a.tar.bz2 crosvm-1d6967437edc98716e545b82a28c788febfbe79a.tar.lz crosvm-1d6967437edc98716e545b82a28c788febfbe79a.tar.xz crosvm-1d6967437edc98716e545b82a28c788febfbe79a.tar.zst crosvm-1d6967437edc98716e545b82a28c788febfbe79a.zip |
hypervisor: add get/set_pvclock
The clock functions on the Vm trait are for any arch, to support hypervisors that might have ARM pv clocks. The KVM implementation (x86 only) is mostly the same as before, but uses a hypervisor-agnostic ClockState struct instead of the KVM struct. BUG=chromium:1077058 TEST=cargo test -p hypervisor Change-Id: I0e77ae997d6a30851d28aeb5f73c9ef8ebc464a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2202742 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Steven Richman <srichman@google.com>
Diffstat (limited to 'msg_socket/src/msg_on_socket/tuple.rs')
0 files changed, 0 insertions, 0 deletions