From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8PZx-0006Gn-U3 for qemu-devel@nongnu.org; Fri, 26 Jun 2015 05:05:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8PZs-0006BA-Nq for qemu-devel@nongnu.org; Fri, 26 Jun 2015 05:05:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57502) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8PZs-0006B6-It for qemu-devel@nongnu.org; Fri, 26 Jun 2015 05:05:40 -0400 Message-ID: <558D15DE.4070804@redhat.com> Date: Fri, 26 Jun 2015 11:05:34 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <4b8fc4d985de6c4f44509b9c47a6152add36d832.1435195913.git.zhugh.fnst@cn.fujitsu.com> <558C2583.1040501@suse.de> <558C2605.2070806@redhat.com> <558C27DF.5090800@suse.de> <558C343F.1090703@redhat.com> <558C357C.4030908@suse.de> <558C3A13.2050702@redhat.com> <20150626110136.4982ec7f@nial.brq.redhat.com> In-Reply-To: <20150626110136.4982ec7f@nial.brq.redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RESEND PATCH v8 1/4] apic: map APIC's MMIO region at each CPU's address space List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Igor Mammedov Cc: Zhu Guihua , ehabkost@redhat.com, qemu-devel@nongnu.org, chen.fan.fnst@cn.fujitsu.com, izumi.taku@jp.fujitsu.com, =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= On 26/06/2015 11:01, Igor Mammedov wrote: > > It's used if the userspace LAPIC is. It's not used together with the > > kernel LAPIC (accesses really are trapped by the kernel). > > Isn't this memory region still handle MSI MMIO in case of kernel LAPIC? > kvm_apic_mem_write() -> kvm_irqchip_send_msi() I'm not sure if the MSI MMIO area moves together with the APIC base. I think it doesn't. Paolo