how LAPIC IPI emulated in KVM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I am looking at the source code of KVM. I am very curious how the IPI
is emulated between different vcpus. I found that before one vcpu is
about to send the IPIs to other vcpu. The received side will always
exit with reason 12 (EXIT_REASON_HLT) first, then the send side send
the IPI. after that the send side will exit with 12(EXIT_REASON_HLT)
again. The receive side can enter guest again. I don't know whether
how IPI works or it's a special case.
How can the KVM (or guest) could ensure that the IPI receive side stay
in VM_EXIT state before the send side send the IPI. Thanks for your
time!

Best Wishes,
Yaohui
--
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




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux