From: Paolo Bonzini Subject: Re: [PATCH RFC] x86/kvm/lapic: always disable MMIO interface in x2APIC mode Date: Fri, 27 Jul 2018 19:00:38 +0200 Message-ID: References: <20180727144448.9606-1-vkuznets@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: kvm list , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , the arch/x86 maintainers , LKML To: Jim Mattson , Vitaly Kuznetsov Return-path: In-Reply-To: Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On 27/07/2018 18:48, Jim Mattson wrote: > On a physical machine, I would expect the default local APIC page to > fall in the PCI hole, so it would be correct to sink writes and to > return all ones for reads. Does qemu implement a PCI hole, and does > this address fall into it? It does implement a PCI hole, but when using the kernel LAPIC it expects that only devices write to that range; therefore that address doesn't fall into the PCI hole, and instead it generates an MSIs. Paolo