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

RE: [Xen-devel] About IO


  • To: "Liu, Huahang" <huahang.liu@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Guy Zana" <guy@xxxxxxxxxxxx>
  • Date: Fri, 30 Mar 2007 04:01:31 -0400
  • Delivery-date: Fri, 30 Mar 2007 09:05:41 +0100
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcdyeZanoNJ6aPq6SKS+5oY9VtNsoAAAcRKAAAkKPyA=
  • Thread-topic: [Xen-devel] About IO

When a guest access a pseudo physical memory address, the hypervisor tries to translate it to the equivalent machine address (real memory). If the address does not exist in the guets's P2M (physical to machine) translation then it is considered to be mmio, in this case, a ioctl_t struct representing that access is being built and sent to the device model of the HVM guest in domain0, there it is handled by the emulated hardware.
 
Non-prefetchable MMIO (buffered) regions are being mapped to the guest's memory layout and they actually a part of it.
Since it is not prefetchable, a buffered mmio region is also mapped to the device model and being accessed "randomly", preformance is better this way.
 
Thanks,
Guy.


From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Liu, Huahang
Sent: Friday, March 30, 2007 6:28 AM
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] About IO

 

What is the MMIO address space of Xen HVM?

What happen when I read from or write to these IO ports?

 

Thanks,

         Huahang

_______________________________________________
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®.