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

[Xen-devel] Mapping hvm guest pages in Dom0


  • To: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Satya <satyakiran@xxxxxxxxx>
  • Date: Fri, 26 Sep 2008 12:02:09 -0700
  • Delivery-date: Fri, 26 Sep 2008 12:02:37 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=SZBnY3Cm9LVkdB2qD/peVsyfN7DKCU2Cim+OSneWuPf9mAgra5Lreo8NcAyVHlPpu+ wCdsc3FirOpjKW7jJjkNBUFNfj1scNxz8m2PbLBTgdJLu7V+yYV1D8wy+c5p5yQv+RLK L3WlsFSdGpVoTAS5vlJ6JQOj+ZqQWpsDZ8mec=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

hello,
I would like to map (Read/Write) pages owned by a HVM guest from my Dom0 Linux kernel module. I have access to the "machine frame numbers" of these pages.

1. What is the right interface to do this? kmap needs 'struct page' ptrs which I doubt exist for pages owned by a HVM guest. Is there a hypercall to do this then?

2. Do I need to modify the HVM behavior in any way for this? (e.g., load a driver in the guest that will setup grant tables?). I need to keep my guest "pure HVM".

thanks,
./satya
_______________________________________________
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®.