From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: A question about HTL VM-Exit handling time Date: Thu, 23 Oct 2014 14:23:30 +0200 Message-ID: <5448F342.804@redhat.com> References: <5446A875.4080204@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: Xiao Guangrong To: "Wu, Feng" , "kvm@vger.kernel.org" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:7399 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754781AbaJWMXi (ORCPT ); Thu, 23 Oct 2014 08:23:38 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: > Thanks for your answer, Paolo. > There is a general question for perf kvm. Do you know how the vmexit > handling time is measured? Such as what is the start point, and the > end point? If I got this information, I think I can better understand the > value of the handling time. Thanks a lot! It is measured from kvm:kvm_exit to kvm:kvm_entry. See exit_event_begin, exit_event_get_key, exit_event_end in tools/perf/builtin-kvm.c. Paolo