From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joerg Roedel Subject: Re: KVM timekeeping fixes, V2 Date: Fri, 16 Jul 2010 21:26:37 +0200 Message-ID: <20100716192637.GK23755@8bytes.org> References: <1278987938-23873-1-git-send-email-zamsden@redhat.com> <20100716131907.GJ23755@8bytes.org> <4C4094E0.7000403@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: KVM , Avi Kivity , Marcelo Tosatti , Glauber Costa , Linux-kernel To: Zachary Amsden Return-path: Content-Disposition: inline In-Reply-To: <4C4094E0.7000403@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Fri, Jul 16, 2010 at 07:20:32AM -1000, Zachary Amsden wrote: > I've been very careful to keep nested SVM safe, but I've not got a good > test for that. Is there any test suite for the nested case? To test this you can boot a nested Linux guest and let both, L1 and L2 guest use kvm_clock. Then put some load into the L2 guest and see if the L2 or the L1 freezes hard (which happens with kvm_clock when the TSC went backwards for one of them). Joerg