KVM Clock

Julian Stecklina jsteckli at os.inf.tu-dresden.de
Wed Jan 15 12:05:39 UTC 2014


On 01/14/2014 05:13 PM, Peter Grehan wrote:
> Hi Julian,
> 
>> is anyone working on KVM clock support for FreeBSD? If not, I might take
>> a shot at it.
> 
>  None I know of: go for it :)

Works for me so far:
https://github.com/blitz/freebsd/commit/cdc5f872b3e48cc0dda031fc7d6bdedc65c3148f

If anyone wants to test this, use any recent qemu with KVM:
wget http://os.inf.tu-dresden.de/~jsteckli/tmp/mfsbsd-kvmclock.iso
qemu-kvm -m 1024 -cdrom mfsbsd-kvmclock.iso.

and watch for

KVM-style paravirtualized clock detected.
Timecounter "KVMCLOCK" frequency 1000000000 Hz quality 1000

in the kernel log.

Julian


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-virtualization/attachments/20140115/18cba9e5/attachment.sig>


More information about the freebsd-virtualization mailing list