All of lore.kernel.org
 help / color / mirror / Atom feed
* Emulated Guest TLB flush IPIs in qemu-kvm
@ 2014-01-09 17:05 ` Hu Yaohui
  0 siblings, 0 replies; 2+ messages in thread
From: Hu Yaohui @ 2014-01-09 17:05 UTC (permalink / raw)
  To: kvm, linux-kernel, qemu-devel

Hi all.
If the hardware does not support APIC virtualization: kvm_vcpu_kick sends an
host-IPI to the remote vcpu if that vcpu is in guest mode, a VM-exit
(exit reason: external interrupt) will be triggered due to the host-IPI.
Then on VM-entry (inject_pending_event) the guest-IPI is injected. If
that IPI is a TLB flush IPI,
what will happen if the target vcpu access the stale tlb entry before
the host-IPI arrives?
Thanks for your time!

Best Wishes,
Yaohui Hu

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Qemu-devel] Emulated Guest TLB flush IPIs in qemu-kvm
@ 2014-01-09 17:05 ` Hu Yaohui
  0 siblings, 0 replies; 2+ messages in thread
From: Hu Yaohui @ 2014-01-09 17:05 UTC (permalink / raw)
  To: kvm, linux-kernel, qemu-devel

Hi all.
If the hardware does not support APIC virtualization: kvm_vcpu_kick sends an
host-IPI to the remote vcpu if that vcpu is in guest mode, a VM-exit
(exit reason: external interrupt) will be triggered due to the host-IPI.
Then on VM-entry (inject_pending_event) the guest-IPI is injected. If
that IPI is a TLB flush IPI,
what will happen if the target vcpu access the stale tlb entry before
the host-IPI arrives?
Thanks for your time!

Best Wishes,
Yaohui Hu

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-09 17:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-09 17:05 Emulated Guest TLB flush IPIs in qemu-kvm Hu Yaohui
2014-01-09 17:05 ` [Qemu-devel] " Hu Yaohui

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.