From mboxrd@z Thu Jan 1 00:00:00 1970 From: MaJia Subject: question on KVM run flow on Intel-VT Date: Wed, 22 Apr 2009 20:55:49 +0800 Message-ID: <20090422125549.GA8186@LL> Reply-To: MaJia Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: kvm@vger.kernel.org Return-path: Received: from rv-out-0506.google.com ([209.85.198.233]:65440 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752365AbZDVMz7 (ORCPT ); Wed, 22 Apr 2009 08:55:59 -0400 Received: by rv-out-0506.google.com with SMTP id f9so2888679rvb.1 for ; Wed, 22 Apr 2009 05:55:58 -0700 (PDT) Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: Hi, I am learning kvm + Intel-VT nowadays. Since I am rookie on both kvm and Intel-VT, I got following questions about run flow of kvm on vmx. I think the cpu is running in 'vmx non-root' mode when execution flow reach 'vmx_vcpu_run' and the batch of 'asm code' take responsibility of run guest on cpu. My question is, when and where will the execution flow return to vmx root mode? Please give me some hint about this point or route me to some documents. Thanks. Bruce.