From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932643AbaEGLhW (ORCPT ); Wed, 7 May 2014 07:37:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4596 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932368AbaEGLhV (ORCPT ); Wed, 7 May 2014 07:37:21 -0400 Message-ID: <536A1AEA.9020309@redhat.com> Date: Wed, 07 May 2014 13:37:14 +0200 From: Paolo Bonzini User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: Abel Gordon CC: Hu Yaohui , Bandan Das , kvm , "linux-kernel@vger.kernel.org" , Muli Ben-Yehuda Subject: Re: KVM Nested L2 guest startup problems References: <53636B1D.8030405@redhat.com> <5363BF42.9020505@redhat.com> <5369F5B0.7050307@redhat.com> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Il 07/05/2014 13:16, Abel Gordon ha scritto: >> > PLE should be left enabled, I think. > Well... the PLE settings L0 uses to run L1 (vmcs01) may be different > than the PLE settings L1 configured to run L2 (vmcs12). > For example, L0 can use a ple_gap to run L1 that is bigger than the > ple_gap L1 configured to run L2. Or L0 can use a ple_window to run L1 > that is smaller than the ple_window L1 configured to run L2. That's correct. We should leave PLE enabled while running L2, but hide the feature altogether from L1. Paolo > So seems PLE should never be exposed to L1 or an appropriate nested > handling needs to be implemented. Note the handling may become complex > because in some cases a PLE exit from L2 should be handled directly by > L0 and not passed to L1... remember nested preemption timer support :) > ?