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] Memory Mapped IO devices in a domU

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Memory Mapped IO devices in a domU
From: Matthew Fioravante <matthew.fioravante@xxxxxxxxxx>
Date: Fri, 10 Dec 2010 11:17:00 -0500
Delivery-date: Fri, 10 Dec 2010 08:18:03 -0800
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
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Lanikai/3.1.1
How would one pass a memory mapped device to a domU? In particular I'm trying to pass the TPM to a domU. It is a memory mapped device with 5 pages starting at 0xfed40000.

Currently I'm playing with the memory_op hypercall, using XENMEN_add_to_phys but its failing and I'm currently investigating why. Is this even the right hypercall to use for this? How do I deal with the fact that the device is already mapped into dom0 by default? Do I need to explicitly unmap the pages from dom0 first somehow?

Thanks!

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>