Can somebody briefly explain the control flow when keyboard typing events happen on guest VM? I think it might be "Hardware event generated --> KVM injects keyboard events to Guest VM", am I right? Or is the event delivered to the guest vm directly without KVM intervention?
I need to study the whole process of hardware events delivery to guest vm based on source code level. Pls give me a hint where I can start with...(I checked kvm/vgic.c file, and found saying "pending interrupts are stored on the vgic.irq_state vgic bitmap. However , this seems that the hardware events are already set in guest vm's VCPU, I want to know the start point of the hardware events such as keyboard typing and mouse clicking are delivered to guest vm.)
Thank you, have a good day!
_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm