From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: HVMlite ABI specification DRAFT A Date: Thu, 4 Feb 2016 22:25:47 +0000 Message-ID: <56B3CFEB.4010300@citrix.com> References: <56B38EDE.5090700@citrix.com> <20160204190915.GB3377@var.home> <56B3A416.3090709@oracle.com> <20160204222130.GC3377@var.home> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aRSLV-0007jI-Du for xen-devel@lists.xenproject.org; Thu, 04 Feb 2016 22:25:49 +0000 In-Reply-To: <20160204222130.GC3377@var.home> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Samuel Thibault , Boris Ostrovsky , =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , xen-devel , Jan Beulich , David Vrabel , Paul Durrant , Stefano Stabellini , Konrad Rzeszutek Wilk , Wei Liu , Tim Deegan List-Id: xen-devel@lists.xenproject.org On 04/02/2016 22:21, Samuel Thibault wrote: > Boris Ostrovsky, on Thu 04 Feb 2016 14:18:46 -0500, wrote: >> On 02/04/2016 02:09 PM, Samuel Thibault wrote: >>> Roger Pau Monn=E9, on Thu 04 Feb 2016 18:48:14 +0100, wrote: >>>> struct hvm_start_info { >>>> #define HVM_START_MAGIC_VALUE 0x336ec578 >>>> uint32_t magic; /* Contains the magic value 0x336e= c578 */ >>>> /* ("xEn3" with the 0x80 bit of th= e "E" set).*/ >>>> uint32_t flags; /* SIF_xxx flags. = */ >>>> uint32_t cmdline_paddr; /* Physical address of the command= line. */ >>>> uint32_t nr_modules; /* Number of modules passed to the= kernel. */ >>>> uint32_t modlist_paddr; /* Physical address of an array of= */ >>>> /* hvm_modlist_entry. = */ >>>> }; >>> Mmm, don't we also need a description of the initial page table, so that >>> the guest kernel knows which part of the memory it shouldn't use until >>> having initialized its own page table? Or is there none in the guest >>> physical memory at startup of HVMlite mode? >> We start with paging off. > So a 32bit hypervisor *has* to use segmentation to protect itself from > domU? This is an HVM domain, so uses hardware virtualisation extensions. It is not like a PV guest. The HVMLite binary is free to choose its width and paging mode. All this document states is that the entry point shall be 32bit flat unpaged mode. ~Andrew