From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glauber Costa Subject: Re: [RFC 3/7] measure time out of guest Date: Thu, 26 Aug 2010 18:14:53 -0300 Message-ID: <20100826211453.GE2985@mothafucka.localdomain> References: <1282772597-4183-1-git-send-email-glommer@redhat.com> <1282772597-4183-2-git-send-email-glommer@redhat.com> <1282772597-4183-3-git-send-email-glommer@redhat.com> <1282772597-4183-4-git-send-email-glommer@redhat.com> <4C76D49D.8000301@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, avi@redhat.com, mtosatti@redhat.com, riel@redhat.com To: Zachary Amsden Return-path: Received: from mx1.redhat.com ([209.132.183.28]:19891 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753720Ab0HZVO4 (ORCPT ); Thu, 26 Aug 2010 17:14:56 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o7QLEudL018946 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 26 Aug 2010 17:14:56 -0400 Content-Disposition: inline In-Reply-To: <4C76D49D.8000301@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: > > void kvm_arch_vcpu_put(struct kvm_vcpu *vcpu) > > { > > kvm_x86_ops->vcpu_put(vcpu); > > kvm_put_guest_fpu(vcpu); > >+ > >+ vcpu->arch.last_time_out = getnsboottime(); > > } > > > > static int is_efer_nx(void) > > I think I've added some of the same instrumentation in my series. Yeah, I did picked up one of your patches verbatim, if you don't mind =]