aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/dev_kvm.txt
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2024-09-11 15:21:46 +0200
committerAlexander Potapenko <glider@google.com>2024-09-11 14:21:28 +0000
commitad0c4256ae1d3f76868800f80d9aa24b24baa6c8 (patch)
treedc48a174197837aa411fbf52077d314f3c9be633 /sys/linux/dev_kvm.txt
parent75aa2725554a1144d20003b40d8c1c0a7f4baa20 (diff)
sys/linux/dev_kvm.txt: pass clock IDs to KVM_GET_CLOCK/KVM_SET_CLOCK
See https://docs.kernel.org/virt/kvm/api.html#kvm-get-clock for more info.
Diffstat (limited to 'sys/linux/dev_kvm.txt')
-rw-r--r--sys/linux/dev_kvm.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/linux/dev_kvm.txt b/sys/linux/dev_kvm.txt
index 6ce760033..4b4648d6c 100644
--- a/sys/linux/dev_kvm.txt
+++ b/sys/linux/dev_kvm.txt
@@ -897,9 +897,11 @@ kvm_vcpu_events [
arm64 kvm_vcpu_events_arm64
]
+kvm_clock_flags = KVM_CLOCK_TSC_STABLE, KVM_CLOCK_REALTIME, KVM_CLOCK_HOST_TSC
+
kvm_clock_data {
clock int64
- flags int32
+ flags flags[kvm_clock_flags, int32]
pad0 int32
realtime int64
host_tsc int64