Kumar, Venkat wrote:
1. How does Qemu process start running in Guest?
qemu doesn't run in the guest. Unless you log into the guest and start
qemu.
But I don't think that's what you were asking?
2. How does a guest's I/O request get trapped into the user mode qemu process?
kvm traps the I/O and returns back to userspace.
Look in libkvm/libkvm.c's handle_io() and handle_mmio(). These
eventually call into qemu/qemu-kvm.c kvm_inb() and friends, and
kvm_mmio_read() and kvm_mmio_write().
--
error compiling committee.c: too many arguments to function
--
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