[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] How to write protect a HVM guest page and handle the writes to the page in hypervisor



Hi, 

Please read http://wiki.xensource.com/xenwiki/AskingXenDevelQuestions .

At 12:08 +0530 on 07 Jun (1307448516), veerasena reddy wrote:
> In one of requirements for my experiment, i need to
> 1. write protect a HVM guest page (the GPA of it is passed to hypervisor in
> a different hypercall)
> 2. write a function in XEN hypervisor and register this as handler for the
> page protected above.
> 
> Could you please advice, how to achieve (2).

Look at the mem_event code in current xen-unstable.  It allows you to do
this from a handler in dom0; I'm sure it would be easy to intercept and
handle inside Xen if you really need to. .

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.