From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [PATCH 14/21] KVM: x86: Software disabled APIC should still deliver NMIs Date: Mon, 01 Dec 2014 17:30:30 +0100 Message-ID: <547C97A6.5030001@redhat.com> References: <1414922101-17626-1-git-send-email-namit@cs.technion.ac.il> <1414922101-17626-15-git-send-email-namit@cs.technion.ac.il> <545A1852.1000603@redhat.com> <5D182FD6-0365-4471-AD28-C587A624D151@gmail.com> <545B409E.1020500@redhat.com> <20141106164534.GA15407@potion.brq.redhat.com> <546618F2.2060108@redhat.com> <02C5C22B-2809-438B-BD42-8C235F1E5CEE@gmail.com> <20141127133957.GA383@potion.brq.redhat.com> <12B8F1E7-A4D1-46D1-948D-EAC44B88CA0D@gmail.com> <20141127222610.GD7770@potion.brq.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm list To: =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , Nadav Amit Return-path: Received: from mx1.redhat.com ([209.132.183.28]:34021 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754268AbaLAQag (ORCPT ); Mon, 1 Dec 2014 11:30:36 -0500 In-Reply-To: <20141127222610.GD7770@potion.brq.redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 27/11/2014 23:26, Radim Kr=C4=8Dm=C3=A1=C5=99 wrote: > We can't deliver xAPIC and x2APIC broadcasts/logical messages at the > same time with current KVM and this patch just switches the working c= ase > in favour of x2APIC, which is why I didn't think it was necessary ... > (And I didn't understand why prefer disabled x2APIC to enabled xAPIC.= ) Indeed. A possible thing to do perhaps would be to build two logical maps, one for x2APIC and one for xAPIC, and consult both... That would slow down the common case when one map is empty, though. Paolo