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] readonly grants

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] readonly grants
From: Mohammad Hedayati <hedayati.mo@xxxxxxxxx>
Date: Wed, 26 Oct 2011 20:16:49 +0330
Delivery-date: Wed, 26 Oct 2011 09:49:20 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=TWiL3PcCkriHOckJ8AYqm2w0GOYAja3TdbRq/cpk0z8=; b=XLeggwUO/1YDhvYyXfq/xvmnRIsAVkETrscW0jGfiFHE51QpH8W3YR4T9pyVQgKCE1 HvKKZp9WrDtX2fripVnpHvAUAWR7TtqE4sF0x9//a0LMUhip3Ec2k1f+HMqMqzczrq0d yDMGVX7gXOu2eStIJgkpsZ0KfhWAgfuH51fPs=
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/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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
After mapping a readonly granted page in a PV guest, the guest can try to change his l1 page table entry, faulting into Xen. Here xen emulates the update operation, but first it must check whether the modification is allowed or not (i.e. the grant is readonly or not).
I'm looking through the code, but I can't find where this checking is done. Can anyone help?!
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>