Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F164301284
D30459.id89864.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D30459.id89864.diff
View Options
Index: sysutils/Makefile
===================================================================
--- sysutils/Makefile
+++ sysutils/Makefile
@@ -579,6 +579,7 @@
SUBDIR += kops
SUBDIR += krename
SUBDIR += kshutdown
+ SUBDIR += kvmclock-kmod
SUBDIR += ksystemlog
SUBDIR += kubectl
SUBDIR += lava
Index: sysutils/kvmclock-kmod/Makefile
===================================================================
--- /dev/null
+++ sysutils/kvmclock-kmod/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= kvmclock
+DISTVERSION= 0.0.0-a2
+CATEGORIES= sysutils
+PKGNAMESUFFIX?= -kmod
+
+MAINTAINER= dch@FreeBSD.org
+COMMENT= Paravirtualized Linux KVM clock support
+
+LICENSE= BSD2CLAUSE
+
+ONLY_FOR_ARCHS= amd64 i386 arm64
+ONLY_FOR_ARCHS_REASON= not yet tested on other architectures
+
+USES= kmod
+KMOD= kvmclock
+NEED_ROOT= yes
+
+USE_GITHUB= yes
+GH_ACCOUNT= klarasystems
+
+PLIST_FILES= ${KMODDIR}/kvmclock.ko
+
+OPTIONS_DEFINE= DEBUG
+OPTIONS_SUB= yes
+
+.include <bsd.port.mk>
Index: sysutils/kvmclock-kmod/distinfo
===================================================================
--- /dev/null
+++ sysutils/kvmclock-kmod/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1621967719
+SHA256 (klarasystems-kvmclock-0.0.0-a2_GH0.tar.gz) = 1497f3eca5bc1f1d9708aa601f5fdbdea08852e16b6c9c1d55bc6d0262baf708
+SIZE (klarasystems-kvmclock-0.0.0-a2_GH0.tar.gz) = 7676
Index: sysutils/kvmclock-kmod/pkg-descr
===================================================================
--- /dev/null
+++ sysutils/kvmclock-kmod/pkg-descr
@@ -0,0 +1,11 @@
+Development version of kvmclock FreeBSD driver for virtual machines.
+
+References and prior art:
+
+https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/virtualization_deployment_and_administration_guide/chap-kvm_guest_timing_management
+https://www.vmware.com/files/pdf/techpaper/Timekeeping-In-VirtualMachines.pdf
+http://oliveryang.net/2015/09/pitfalls-of-TSC-usage/#33-tsc-emulation-on-different-hypervisors
+https://reviews.freebsd.org/D29531
+https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216759
+
+WWW: https://reviews.freebsd.org/D29733
Index: sysutils/kvmclock-kmod/pkg-message
===================================================================
--- /dev/null
+++ sysutils/kvmclock-kmod/pkg-message
@@ -0,0 +1,10 @@
+kvmclock-kmod is experimental and currently under development. This port
+provides an easy and quick method for users to test this code for early
+testing, feedback and bug reports.
+
+This driver enables FreeBSD to use a more efficient paravirtualized
+hardware clock, instead of emulating one, or abusing hypervisor
+interrupts, when running as a virtualized OS under Linux KVM
+(Kernel-based Virtual Machine).
+
+Please report successes and issues to: https://reviews.freebsd.org/D29733
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 31, 1:33 PM (10 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35786106
Default Alt Text
D30459.id89864.diff (2 KB)
Attached To
Mode
D30459: sysutils/kvmclock-kmod: new port
Attached
Detach File
Event Timeline
Log In to Comment