From: Ian Jackson Subject: Re: [PATCH v2] libxl: Reset toolstack_save file position in libxl Date: Thu, 22 May 2014 16:33:50 +0100 Message-ID: <21374.6366.996243.505120@mariner.uk.xensource.com> References: <1400524597-6090-1-git-send-email-andryuk@aero.org> <21372.52731.294158.259488@mariner.uk.xensource.com> <537DE896.6020703@aero.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <537DE896.6020703@aero.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jason Andryuk Cc: Andrew Cooper , Stefano Stabellini , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Jason Andryuk writes ("Re: [PATCH v2] libxl: Reset toolstack_save file position in libxl"): > On 5/21/2014 12:02 PM, Ian Jackson wrote: > > But I'm curious as to what kind of wrapper you have devised, and for > > what purpose. Do you mean a wrapper program for libxl-save-helper ? > > Which presumably interposes a pipe for the toolstack data fd ? > > Using XSM Flask and Domain Builder [1], the hypervisor can protect > domU memory from control domains. The wrapper spawns a migrator > domain to run libxl-save-helper. This migrator domain has the XSM > permission to access the domU memory and encrypts the data stream to > continue protecting the domU. How exciting. Well, excellent. Thanks for the explanation. > Yes, it's an atypical setup. The patch doesn't change co-located > libxl/libxl-save-helper, but it does allow the possibility described > above. Right. I'll apply the patch. But I don't think this merits a backport. Thanks, Ian.