Hi Amit,

I am sending this mail to you directly as I got no response from the
mailing list.

Can you guide me as to how the kvm module passes/forwards the IO requests
to userspace drivers ? I want to know where in the code do the
userspace(QEMU) device-drivers register themselves with the kvm module.

Having looked at the kvm module code I saw that VMexits corresponding to
EXIT_REASON_IO_INSTRUCTION are handled by handle_io(), which calls
kvm_emulate_pio() and subsequently they retrieve a kvm_io_device from the
pio_bus. But where do they come into the pio_bus ?

I can't see how the control is transferred to userspace drivers (does
virtio play a role here ?)


Thanks and Regards,
Sukanto


--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to