From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751791AbdG1JHX (ORCPT ); Fri, 28 Jul 2017 05:07:23 -0400 Received: from mail-oi0-f49.google.com ([209.85.218.49]:33589 "EHLO mail-oi0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751007AbdG1JHW (ORCPT ); Fri, 28 Jul 2017 05:07:22 -0400 MIME-Version: 1.0 In-Reply-To: <1501230295.9055.12.camel@gmx.de> References: <20170728070310.4460-1-pbonzini@redhat.com> <1501230295.9055.12.camel@gmx.de> From: Wanpeng Li Date: Fri, 28 Jul 2017 17:07:20 +0800 Message-ID: Subject: Re: [PATCH 0/2] KVM: nVMX: fixes to nested virt interrupt injection To: Mike Galbraith Cc: Paolo Bonzini , "linux-kernel@vger.kernel.org" , kvm , Jim Mattson , Wanpeng Li Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2017-07-28 16:24 GMT+08:00 Mike Galbraith : > On Fri, 2017-07-28 at 09:03 +0200, Paolo Bonzini wrote: >> With these two patches, KVM does not blindly pass the exit interruption >> info and exit qualification from the vmcs02 and vmcs12 when injecting >> an exception. There were two spots where this was done, namely >> nested_vmx_check_exception and vmx_inject_page_fault_nested. >> >> Patch 1 avoids writing the vmcs02's VM_EXIT_INTR_ERROR_CODE field, >> which as Jim noticed isn't possible on pre-Haswell machines, but >> otherwise has no semantic effect. >> >> Patch 2 is the actual bugfix. > > I was looking into oodles of lapic_timer.hv_timer_in_use warnings in > RT, introduced by KVM: LAPIC: Fix lapic timer injection delay, when I > noticed this post. Happily, I can report that they are history. Yeah, it is fixed in the kvm/queue. https://git.kernel.org/pub/scm/virt/kvm/kvm.git/commit/?h=queue&id=1d518c6820daf4e00d29adfba980aee05f605f0f Regards, Wanpeng Li