From: Paolo Bonzini Subject: Re: [PATCH 2/4] KVM: nSVM: do not forward NMI window singlestep VM exits to L1 Date: Mon, 19 Jun 2017 15:52:55 +0200 Message-ID: <67f39a38-9a20-04ed-1c68-6dd35947fea9@redhat.com> References: <20170615112032.15812-1-lprosek@redhat.com> <20170615112032.15812-3-lprosek@redhat.com> <20170616132648.GF2224@potion> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: KVM list To: Ladi Prosek , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= Return-path: Received: from mail-qk0-f195.google.com ([209.85.220.195]:36564 "EHLO mail-qk0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750733AbdFSNw7 (ORCPT ); Mon, 19 Jun 2017 09:52:59 -0400 Received: by mail-qk0-f195.google.com with SMTP id r62so6892160qkf.3 for ; Mon, 19 Jun 2017 06:52:58 -0700 (PDT) In-Reply-To: Content-Language: en-US Sender: kvm-owner@vger.kernel.org List-ID: On 19/06/2017 15:05, Ladi Prosek wrote: > With these two tweaks my test VM does not generate any DB exits. We > still occasionally set TF if we have an NMI and interrupt pending at > the same time (see inject_pending_event where we check > vcpu->arch.interrupt.pending, then later vcpu->arch.nmi_pending) but > we clear it immediately in the new code added in patch 4. Good, please check that eventinj.flat still works on non-nested and doesn't regress on nested (I'm not sure if it works right now). I'll check that too before applying, though. Paolo