From: Ian Jackson Subject: Re: [PATCH 28/28] libxl: xsrestrict QEMU Date: Fri, 8 Jan 2016 14:38:54 +0000 Message-ID: <22159.51710.835550.246082@mariner.uk.xensource.com> References: <1450809903-3393-1-git-send-email-ian.jackson@eu.citrix.com> <1450809903-3393-29-git-send-email-ian.jackson@eu.citrix.com> <1452188173.21055.277.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1452188173.21055.277.camel@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: Ian Campbell Cc: xen-devel@lists.xensource.com, Wei Liu , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [PATCH 28/28] libxl: xsrestrict QEMU"): > On Tue, 2015-12-22 at 18:45 +0000, Ian Jackson wrote: > > If QEMU supports xsrestrict, pass xsrestrict=3Don to it (by default). > > = > > XXX We need to do this only if xenstored supports it, and AFAICT there > > is not a particularly easy way to test this.=A0=A0Should we open a new > > test xenstore connection to query this information ?=A0=A0We could do t= his > > once per libxl ctx. > = > Is this because the support is in oxenstored ^ cxenstored? Yes. > Otherwise I would argue that the toolstack should expect the xenstored to > be at least as new as it is. True. > > * libxl__xs_directory on /physmap > > =A0 This is safe. > = > Potentially very many entries and hence a big return array? Are the guest > quotas sufficient to not worry about this? Yes, the quota has to deal with that anyway (since the directory is in core in xenstored, anyway). > Perhaps we should add a code comment to each of these places noting that > the values are guest controlled, since it is a bit more unexpected in this > case than e.g. frontend dirs. This is a good idea. > > +Information about an HVM domain's physical memory map.=A0=A0This is > > +written as well as read by device models which may run at the same > > +privilege level of the guest domain.=A0=A0When the device model ruus w= ith > = > "runs" Fixed, thanks. Ian.