From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel De Graaf Subject: Re: [PATCH 1/9] xen: add xenstore domain flag to hypervisor Date: Tue, 15 Dec 2015 17:18:15 -0500 Message-ID: <567091A7.90109@tycho.nsa.gov> References: <1449848861-7700-1-git-send-email-jgross@suse.com> <1449848861-7700-2-git-send-email-jgross@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1449848861-7700-2-git-send-email-jgross@suse.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: Juergen Gross , xen-devel@lists.xen.org, Ian.Campbell@citrix.com, ian.jackson@eu.citrix.com, stefano.stabellini@eu.citrix.com, wei.liu2@citrix.com Cc: Tim Deegan , Keir Fraser , David Vrabel , Jan Beulich , Andrew Cooper List-Id: xen-devel@lists.xenproject.org On 11/12/15 10:47, Juergen Gross wrote: > In order to be able to have full support of a xenstore domain in Xen > add a "Xenstore-domain" flag to the hypervisor. This flag must be > specified at domain creation time and is returned by > XEN_DOMCTL_getdomaininfo. > > It will allow the domain to retrieve domain information by issuing the > XEN_DOMCTL_getdomaininfo itself in order to be able to check for > domains having been destroyed. At the same time this flag will inhibit > the domain to be migrated, as this wouldn't be a very wise thing to do. > > In case of a later support of a rebootable Dom0 this flag will allow to > recognize a xenstore domain already being present to connect to. > > Cc: Jan Beulich > Cc: Keir Fraser > Cc: Tim Deegan > Cc: Andrew Cooper > Cc: David Vrabel > Cc: Daniel De Graaf > > Signed-off-by: Juergen Gross The XSM hook changes look good. If XSM_XS_PRIV is ever used for a permission other than getdomaininfo, the comment in xsm.h will be inaccurate, but I'm not sure if that will ever be needed. Acked-by: Daniel De Graaf