From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wei Liu Subject: Re: [PATCH v3 23/32] libxc: allow creating domains without emulated devices. Date: Tue, 28 Jul 2015 12:22:45 +0100 Message-ID: <20150728112245.GM5111@zion.uk.xensource.com> References: <1435923310-9019-1-git-send-email-roger.pau@citrix.com> <1435923310-9019-24-git-send-email-roger.pau@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 1ZK2yA-000595-UZ for xen-devel@lists.xenproject.org; Tue, 28 Jul 2015 11:22:51 +0000 Content-Disposition: inline In-Reply-To: <1435923310-9019-24-git-send-email-roger.pau@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 Monne Cc: xen-devel@lists.xenproject.org, Wei Liu , Ian Jackson , Ian Campbell , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Fri, Jul 03, 2015 at 01:35:01PM +0200, Roger Pau Monne wrote: > Introduce a new flag in xc_dom_image that turns on and off the emulated > devices. This prevents creating the VGA hole, the hvm_info page and the > ioreq server pages. libxl unconditionally sets it to true for all HVM > domains at the moment. > = > Signed-off-by: Roger Pau Monn=E9 > Cc: Ian Jackson > Cc: Stefano Stabellini > Cc: Ian Campbell > Cc: Wei Liu > --- > tools/libxc/include/xc_dom.h | 1 + > tools/libxc/xc_dom_x86.c | 71 +++++++++++++++++++++++++-------------= ------ > tools/libxl/libxl_dom.c | 1 + > 3 files changed, 42 insertions(+), 31 deletions(-) > = > diff --git a/tools/libxc/include/xc_dom.h b/tools/libxc/include/xc_dom.h > index 68b052c..7086f6e 100644 > --- a/tools/libxc/include/xc_dom.h > +++ b/tools/libxc/include/xc_dom.h > @@ -194,6 +194,7 @@ struct xc_dom_image { > xen_pfn_t mmio_size; > xen_pfn_t lowmem_end; > xen_pfn_t highmem_end; > + bool emulation; > = Can you document what this flag enables / disables? Wei.