From: "Jan Beulich" Subject: Re: [PATCH v4 6/6] x86/HVM: report the set of enabled emulated devices through CPUID Date: Mon, 25 Jan 2016 04:23:54 -0700 Message-ID: <56A613DA02000078000CA970@prv-mh.provo.novell.com> References: <1453395092-88090-1-git-send-email-roger.pau@citrix.com> <1453395092-88090-7-git-send-email-roger.pau@citrix.com> <56A2193202000078000C9FC1@prv-mh.provo.novell.com> <56A223F0.8020005@citrix.com> <56A22FE7.1000203@citrix.com> <56A243D9.4020003@citrix.com> <56A2594D02000078000CA347@prv-mh.provo.novell.com> <56A24FFE.7020807@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aNfFm-0003qP-GQ for xen-devel@lists.xenproject.org; Mon, 25 Jan 2016 11:24:14 +0000 In-Reply-To: <56A24FFE.7020807@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: =?UTF-8?Q?Roger=20Pau=20Monn=C3=A9?= Cc: Andrew Cooper , xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org >>> On 22.01.16 at 16:51, wrote: > El 22/01/16 a les 16.31, Jan Beulich ha escrit: >>>>> On 22.01.16 at 15:59, wrote: >>> If that's the plan, then I think we would also need to fixup the tables >>> provided to Dom0 in order to match what's available, but that can be >>> discussed later. >> >> I don't see what you're getting at here: The IO-APIC information >> should be usable as is for Dom0 (as is the case for PV). > > Well, the information it's usable, but the IO-APIC is not accessible by > Dom0, you need to use PHYSDEV ops in order to manage it. One of my aims > would be to get rid of quite of the PHYSDEV/PIRQ ops for Dom0, and > instead provide an emulated local and IO APICs. That would also allow us > to make use of posted-interrupts I assume (although I certainly need to > look more deeply into this). Wait - you're aware that some of the IO-APIC setup in the hypervisor requires Dom0's help? Presenting it with other than the real ACPI tables would seem to make this impossible. > In this case, how are we going to signal Dom0 that the local and IO > APICs reported by ACPI are usable using the bare mental interfaces? With the above I'm not sure the answer to this would really matter. Jan