diff options
author | 2018-11-23 12:37:40 +0000 | |
---|---|---|
committer | 2018-11-23 12:37:40 +0000 | |
commit | 22d921f9c83063c12d327e26038522651e64bbc6 (patch) | |
tree | 956299a1faeacb8d89a2141808767877fb840f84 /sys/dev/pv/files.pv | |
parent | tweak previous; (diff) | |
download | wireguard-openbsd-22d921f9c83063c12d327e26038522651e64bbc6.tar.xz wireguard-openbsd-22d921f9c83063c12d327e26038522651e64bbc6.zip |
Add the pvclock(4) guest driver for paravirtual clocks
This improves timekeeping on KVM guests as it runs much better than
the virtualized acpihpet or acpitimer timecounters and the invtsc is
not always available.
Many thanks to Janne Johansson, landry@, and benno@ for testing amd64/i386.
OK mlarkin@ phessler@
Diffstat (limited to 'sys/dev/pv/files.pv')
-rw-r--r-- | sys/dev/pv/files.pv | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/pv/files.pv b/sys/dev/pv/files.pv index 513354634bc..422737de605 100644 --- a/sys/dev/pv/files.pv +++ b/sys/dev/pv/files.pv @@ -1,4 +1,4 @@ -# $OpenBSD: files.pv,v 1.14 2018/08/24 16:07:01 visa Exp $ +# $OpenBSD: files.pv,v 1.15 2018/11/23 12:37:40 reyk Exp $ # # Config file and device description for paravirtual devices. # Included by ports that need it. @@ -8,6 +8,11 @@ device pvbus attach pvbus at mainbus file dev/pv/pvbus.c pvbus needs-flag +# KVM clock +device pvclock +attach pvclock at pvbus +file dev/pv/pvclock.c pvclock needs-flag + # VMware Tools device vmt attach vmt at pvbus |