qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Passthrough and mmio overhead?


From: Etienne Martineau
Subject: [Qemu-devel] Passthrough and mmio overhead?
Date: Thu, 08 Jul 2010 11:30:27 -0700

Hi all,

My current understanding of Qemu-kvm is such that whenever Guest VM
establish a passthrough to a pci devices, the following happens:

Setup:
- vt-d setup
- Host mmap the device's BAR via /sysfs.
- Host maintain a 'ptr' to that mmap'ed area.
- Host create a mmio slot for the Guest.
- The mmio slot 'address' is part of the Guest VM pci addr space.

Runtime:
- Guest access the mmio slot and pagefault to the host
- Host resolve the offset, dereference 'ptr' and gets the value
- Host resume the pagefault and return the value to the guest

Now the question is that if Guest vm keeps doing MMIO, will it keep page
faulting on the host?

Thanks,
Etienne





reply via email to

[Prev in Thread] Current Thread [Next in Thread]