From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH v2] x86/kvm/vmx: Don't halt vcpu when L1 is injecting events to L2 Date: Fri, 9 Feb 2018 13:43:24 +0100 Message-ID: <8654b592-c945-f66c-6c7c-f26cd3fa24f6@redhat.com> References: <1518152952-12633-1-git-send-email-chao.gao@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, x86@kernel.org, "H. Peter Anvin" , Ingo Molnar , Thomas Gleixner , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , Liran Alon To: Chao Gao , kvm@vger.kernel.org Return-path: In-Reply-To: <1518152952-12633-1-git-send-email-chao.gao@intel.com> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 09/02/2018 06:09, Chao Gao wrote: > Although L2 is in halt state, it will be in the active state after > VM entry if the VM entry is vectoring according to SDM 26.6.2 Activity > State. Halting the vcpu here means the event won't be injected to L2 > and this decision isn't reported to L1. Thus L0 drops an event that > should be injected to L2. Can you please write a testcase for kvm-unit-tests? Thanks, Paolo