From: Tim Deegan Subject: Re: HVMlite ABI specification DRAFT A Date: Fri, 5 Feb 2016 16:01:01 +0000 Message-ID: <20160205160101.GE94831@deinos.phlegethon.org> References: <56B38EDE.5090700@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aRiom-0003ag-N8 for xen-devel@lists.xenproject.org; Fri, 05 Feb 2016 16:01:08 +0000 Content-Disposition: inline In-Reply-To: <56B38EDE.5090700@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Roger Pau =?iso-8859-1?Q?Monn=E9?= Cc: Wei Liu , Stefano Stabellini , Andrew Cooper , Paul Durrant , David Vrabel , Jan Beulich , samuel.thibault@ens-lyon.org, xen-devel , Boris Ostrovsky List-Id: xen-devel@lists.xenproject.org At 18:48 +0100 on 04 Feb (1454611694), Roger Pau Monn=E9 wrote: > Hello, > = > I've Cced a bunch of people who have expressed interest in the HVMlite > design/implementation, both from a Xen or OS point of view. If you > would like to be removed, please say so and I will remove you in > further iterations. The same applies if you want to be added to the Cc. > = > This is an initial draft on the HVMlite design and implementation. I've > mixed certain aspects of the design with the implementation, because I > think we are quite tied by the implementation possibilities in certain > aspects, so not speaking about it would make the document incomplete. I > might be wrong on that, so feel free to comment otherwise if you would > prefer a different approach. At least this should get the conversation > started into a couple of pending items regarding HVMlite. I don't want > to spoil the fun, but IMHO they are: > = > - Local APIC: should we _always_ provide a local APIC to HVMlite > guests? > - HVMlite hardware domain: can we get rid of the PHYSDEV ops and PIRQ > event channels? > - HVMlite PCI-passthrough: can we get rid of pciback/pcifront? FWIW, I think we should err on the side of _not_ emulating hardware or providing ACPI; if the hypervisor interfaces are insufficient/unpleasant we should make them better. I understand that PCI passthrough is difficult because the hardware design is so awkward to retrofit isolation onto. But I'm very uncomfortable with the idea of faking out things like PCI root complexes inside the hypervisor -- as a way of getting rid of qemu it's laughable. I'd be much happier saying that PCI passthrough requires PV or legacy HVM until a better plan can be found (e.g. depriv helpers). Cheers, Tim.