WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 4/6] x86: split struct domain

To: Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 4/6] x86: split struct domain
From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Date: Wed, 19 Oct 2011 15:47:09 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 19 Oct 2011 07:47:46 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=TOsevOlUwrd5c8ZvE47ypmLzU2aNnxpUcRkX/waEAiY=; b=pGfun1wNjCjCpMOXBmmg1neM9S1O1y4yltwNx1cbw5Lukhk3qMvJw+d1N+/BdX0u8u GaihwBXjonJbKOtsmievc+OcXEULlQThytljtaRJ2YhOvy4iMZUuEftQuOfLBI7dD2do koWYCqBYzJ2NPfBeZFuFZlXTXEPgzOZ1uenEQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D9AED3E0200007800039F36@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4D9AED3E0200007800039F36@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, Apr 5, 2011 at 9:21 AM, Jan Beulich <JBeulich@xxxxxxxxxx> wrote:
> This is accomplished by converting a couple of embedded arrays (in one
> case a structure containing an array) into separately allocated
> pointers, and (just as for struct arch_vcpu in a prior patch) overlaying
> some PV-only fields with HVM-only ones.
>
> One particularly noteworthy change in the opposite direction is that of
> PITState - this field so far lived in the HVM-only portion, but is being
> used by PV guests too, and hence needed to be moved out of struct
> hvm_domain.
>
> The change to XENMEM_set_memory_map (and hence libxl__build_pre() and
> the movement of the E820 related pieces to struct pv_domain) are subject
> to a positive response to a query sent to xen-devel regarding the need
> for this to happen for HVM guests (see
> http://lists.xensource.com/archives/html/xen-devel/2011-03/msg01848.html).

Just a heads-up, XenServer apparently does call XENMEM_set_memory_map
for HVM guests.  I'll take a look and see if it's actually necessary
or not, and if so, revert the part of the patch that moves the e820
stuff into a pv-specific structure.

 -George

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-devel] [PATCH 4/6] x86: split struct domain, George Dunlap <=