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] Xen memory management

To: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Subject: Re: [Xen-devel] Xen memory management
From: David Xu <davidxu06@xxxxxxxxx>
Date: Thu, 23 Jun 2011 18:08:13 -0400
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 23 Jun 2011 15:09:18 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=cg6vUQQSRGUNqhwu2YGBRZRQgU8LC0v71CVpf1AQJyI=; b=JU9Ft0FTpld0Kg46BoABXEoY0l21X6KUvNGVWJblNAaTGhM6oYi/b3XFMoLkCpykLT RW1WZiXzEjifKtEJlnCNhCfbzDOwu1ocRmeCWDoOgQlOILSZedn+DuQtwiTDeZ7t3JqC 5ytbfkAOAzpw3lPVeHnfoGzHOkY9xqxxcq4UI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=OLHt2yBijgD+OBeVlvcg/SUpja1NitnWW3xxfo7aounZAeTwrl0auIHRQxWAtltt75 Bmxvu0o1OGwNWm2zD/2aHvzjgSVfjftnYOBRTHbaqNssxcC9ehiwQ80/LbxoehOMMp2/ OBONLlZUQDNsTuUSDyORB+9pUqpvlORTNUORI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110623092711.GU17634@xxxxxxxxxxxxxxxxxxxxxxx>
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: <BANLkTinmK9UogogAk0kn6qzNS12BXmfbLQ@xxxxxxxxxxxxxx> <20110623092711.GU17634@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thanks. My concern is that if several VMs are mapped to same memory, one VM may get something from the memory which has ever been used by another VM. This may cause some secure problems. 

Regards,
Cong

2011/6/23 Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Hi David,

At 18:59 -0400 on 22 Jun (1308769177), David Xu wrote:
> Is there anybody who has some experience at memory management of Xen? I just
> want to know whether Xen hypervisor will map memory from different VMs to
> the same physical memory address

Yes; see page-sharing, grant tables, privileged foreign mappings &c.

>, which is insecure.

Not if you do it right. :)  What exactly is your concern?

Tim.

--
Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, Xen Platform Team
Citrix Systems UK Ltd.  (Company #02937203, SL9 0BG)

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