From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Tosatti Subject: Re: [PATCH v2] KVM: x86: Account for failing enable_irq_window for NMI window request Date: Thu, 2 May 2013 22:17:59 -0300 Message-ID: <20130503011759.GC5467@amt.cnet> References: <517CCEB9.7030504@web.de> <1B4B44D9196EFF41AE41FDA404FC0A10CA70B5@SHSMSX101.ccr.corp.intel.com> <20130428143355.GA31934@redhat.com> <1B4B44D9196EFF41AE41FDA404FC0A10CA71A5@SHSMSX101.ccr.corp.intel.com> <517D4D9C.60905@web.de> <517D5104.20207@web.de> <517E85BC.6000809@redhat.com> <517E87D2.6050002@siemens.com> <517E93F3.4070405@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jan Kiszka , Gleb Natapov , "Ren, Yongjie" , kvm , "Nakajima, Jun" To: Paolo Bonzini Return-path: Received: from mx1.redhat.com ([209.132.183.28]:56322 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760561Ab3ECBVJ (ORCPT ); Thu, 2 May 2013 21:21:09 -0400 Content-Disposition: inline In-Reply-To: <517E93F3.4070405@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Apr 29, 2013 at 05:38:27PM +0200, Paolo Bonzini wrote: > Il 29/04/2013 16:46, Jan Kiszka ha scritto: > > With VMX, enable_irq_window can now return -EBUSY, in which case an > > immediate exit shall be requested before entering the guest. Account for > > this also in enable_nmi_window which uses enable_irq_window in absence > > of vnmi support, e.g. > > > > Signed-off-by: Jan Kiszka > > Reviewed-by: Paolo Bonzini Applied, thanks.