From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751681AbdG1IZG convert rfc822-to-8bit (ORCPT ); Fri, 28 Jul 2017 04:25:06 -0400 Received: from mout.gmx.net ([212.227.17.20]:55132 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751007AbdG1IZE (ORCPT ); Fri, 28 Jul 2017 04:25:04 -0400 Message-ID: <1501230295.9055.12.camel@gmx.de> Subject: Re: [PATCH 0/2] KVM: nVMX: fixes to nested virt interrupt injection From: Mike Galbraith To: Paolo Bonzini , linux-kernel@vger.kernel.org, kvm@vger.kernel.org Cc: jmattson@google.com, wanpeng.li@hotmail.com Date: Fri, 28 Jul 2017 10:24:55 +0200 In-Reply-To: <20170728070310.4460-1-pbonzini@redhat.com> References: <20170728070310.4460-1-pbonzini@redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.20.5 Mime-Version: 1.0 Content-Transfer-Encoding: 8BIT X-Provags-ID: V03:K0:S4Alct6jLAuPmGJBjG/Lix95hn9oKwmD52E57+fRj4zSDF8FrT3 jJqdwtiXtWX8IK2BEGzm8qnzfPA4Wp/j4AElN3aPHkFvBKZZeoTZWj/ZEzYVpr+y/6foPRn La5t/AUiGj5iIK6DPpDZzy0h5O8jV7Tl+z7oh+F6BFDLjkwmX+4FPx61tu+qFHcc4+R3lKv 9TN4a7SZXxbBBczDH6ZUw== X-UI-Out-Filterresults: notjunk:1;V01:K0:cIZrYUo+h3k=:0elisuD5UohIkrXvaoFOoK JCfcFagsagGY8x7xG+GN00uHAtcQEJ7dt3ARrZ1FZp71WuVlVyP/+tNw7ZPVmM1DG29cTUcn6 3SsK6XkpIOJnT2B05xYNvUIl4zLFHGWnu+xwOpbRN5193K+OY8iBNT/zEN7yzqcK4yp70R5bP 8iefaojXfq9gACPi79QHemJXAKLjqTg8NFCw1Ztkpq1PNvFTmobrPhnsNjdEkUKxUG3ncJRm4 znS1DA/0Itbh1YdgcGD1w1WDk2BmFPm4QmtGM8VE7cDqEMq+q4UIjGeTiEq5vb7r2OWRUHgRp uE6fbG8Ny54eU1KBCsG4UEU8prRFda6yRoTyms4KDlJJLm6C3O2s2AIZe08dPLLK9JN8MjBE7 cCdl/ROBmozzydIZ8lAlQ6bMHFs3Ns4I2jVBcXebFpPFcFC1KLw46nIs7zYsk07hzt2NrUZ8F 9sdzmjBkLIbMGPsD7spZOukAgaBuKFUqL2TUf+GAKXt0O6uPXdQ7JWeqsZCU0LVHVQnpXhTMn JW/6q3OoHin9P+AhJqeweyJmm8Jz3e3lv8EUcDwNNc4t0TxEAiUjxvoBMBIfIDbiHUKG/QMxU rFVOEbEVx51xwMCX0xhQTCkcdqRZY5Aityf+JCt/FAWcVBKXcnIerTwQ7KbayVPBGAumrSB5I oIBgAe7FclKDu5fSZmAHUav+QPb/J1GhgDloOdGjU72Hgro6ZjN5vTLu4jd245ZTyqYABpQRz o7U40f6PWf9kbpS12AkXFb74HRPk6hStnfwbAUDBMblN71u1H0HLnvsuy28vxiSzLDAHuF5PT fN8bnHup4vbJqSXjMnVPLqMZ5K4Me3BM36f2JEdxe2Jh4sSf68= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -Mike