public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Using EPT to map guest MMIO to host MMIO
@ 2011-08-05  7:20 Cyclonus J
  2011-08-05  7:41 ` Jan Kiszka
  0 siblings, 1 reply; 5+ messages in thread
From: Cyclonus J @ 2011-08-05  7:20 UTC (permalink / raw)
  To: kvm

hi,

I am wondering if it is possible to map guest MMIO to host MMIO, the
purpose is to reduce VM_EXIT as the page tables will be setup before
MMIO accessing from guest. Here is what I have in mind:

qemu_map_guest_mmio(guest_phys_addr, host_phys_addr, flags) -->
kvm_ioctl_map_guest_mmio_region(...)

Inside function kvm_ioctl_map_guest_mmio_region, it needs to setup
mappings for EPT to map guest_phys_addr(MMIO) to host_phys_addr(MMIO).

The first host_phys_addr inside QEMU function will be provided by the
para-virtualized guest.

Thanks,
CJ

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-08-12  8:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-05  7:20 Using EPT to map guest MMIO to host MMIO Cyclonus J
2011-08-05  7:41 ` Jan Kiszka
2011-08-05  8:40   ` Cyclonus J
2011-08-05  9:08     ` Jan Kiszka
2011-08-12  8:05       ` Cyclonus J

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox