From owner-freebsd-virtualization@FreeBSD.ORG Wed Jan 15 12:05:39 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 28371522 for ; Wed, 15 Jan 2014 12:05:39 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D2CEC1CB2 for ; Wed, 15 Jan 2014 12:05:38 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W3PDv-00083p-LQ for freebsd-virtualization@freebsd.org; Wed, 15 Jan 2014 13:05:31 +0100 Received: from august.inf.tu-dresden.de ([141.76.48.124]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Jan 2014 13:05:31 +0100 Received: from jsteckli by august.inf.tu-dresden.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 15 Jan 2014 13:05:31 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-virtualization@freebsd.org From: Julian Stecklina Subject: Re: KVM Clock Date: Wed, 15 Jan 2014 13:05:19 +0100 Lines: 47 Message-ID: References: <52D5623C.7060401@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CF8SEg4UHeJMcFVqIk6Lq4D6MecPdGQJN" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: august.inf.tu-dresden.de User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <52D5623C.7060401@freebsd.org> X-Enigmail-Version: 1.6 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jan 2014 12:05:39 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --CF8SEg4UHeJMcFVqIk6Lq4D6MecPdGQJN Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 01/14/2014 05:13 PM, Peter Grehan wrote: > Hi Julian, >=20 >> is anyone working on KVM clock support for FreeBSD? If not, I might ta= ke >> a shot at it. >=20 > None I know of: go for it :) Works for me so far: https://github.com/blitz/freebsd/commit/cdc5f872b3e48cc0dda031fc7d6bdedc6= 5c3148f 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 --CF8SEg4UHeJMcFVqIk6Lq4D6MecPdGQJN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlLWeYIACgkQ2EtjUdW3H9n3jACglY4DPiAnfoZB+97ORaf3GXFr R8sAn10A6QIR9BTnjX7IuhPXfFBmYrHK =N2Gt -----END PGP SIGNATURE----- --CF8SEg4UHeJMcFVqIk6Lq4D6MecPdGQJN--