On 03/12/2010 05:50 PM, Cam Macdonell wrote:
Yes - they must match. Not PIO is faster on x86 but nonexistant elsewhere.
s/Not/Note/.
Does it matter that PIO is slower since with ioeventfd Qemu is being bypassed all together?
mmio is slower in kvm, not qemu; mmio must go through the emulator, fetch the instruction, decode and execute it, while pio decoding is done by the processor microcode.
Can I use the memory space with ioeventfds?
Yes.
There doesn't seem to be a flag (KVM_IOEVENTFD_FLAG_MMIO) for it.
If you don't specify _PIO, _MMIO is the default, as Documentation/kvm/api.txt doesn't say.
-- Do not meddle in the internals of kernels, for they are subtle and quick to panic. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html