Sukanto Ghosh wrote:
I saw that KVM has guest SMP support upto 4 VCPUs. Are these VCPUs modelled as threads of 'the process representing the VM' ?
Yes.
If it is, then, when a signal is sent to the that process by the QEMU process, shouldn't all of the VCPUs (for that VM) exit to the userspace ?
You can send signals to a specific thread.
Who does this management of delivering the interrupt to the VCPU for which it is intended for ?
See qemu-kvm.c, look for pthread_kill().
Also, while going through the KVM source, I found mention of opaque at many places. What does 'opaque' refer to ? What is an opaque data ?
It's a common C idiom letting a lower layer call back into the upper layer without knowing the upper layer's details.
-- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain. -- 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
