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

[Xen-devel] yanked share problem

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] yanked share problem
From: "King, Steven R" <steven.r.king@xxxxxxxxx>
Date: Tue, 13 Dec 2005 15:05:06 -0800
Delivery-date: Tue, 13 Dec 2005 23:06:48 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcYAOaf8/3N6JjrCTwm36fCQ+maQSw==
Thread-topic: yanked share problem
Hi Folks,

Let's imagine we have two domains, DomU_A and DomU_B.  Being DomU's, the
two domains don't trust each other, but still desire to safely setup a
shared memory page.

The scenario is the following:

DomU_A acquires a grant reference and shares a page to DomU_B.
DomU_B gets the grant reference passed from A and maps the shared page.
DomU_A then, due to bug or badness, unshares the page without telling
DomU_B.
DomU_B faults on the next access to the mapped but unshared page.

Since one DomU causing a fault in another DomU is unacceptable, the two
domains cannot share memory.  Have I missed something?  I would much
appreciate being set straight on this.

Thanks,
-steve




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