[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] QEMU-KVM Guest TLB flush IPI emulation questions
From: |
Hu Yaohui |
Subject: |
[Qemu-devel] QEMU-KVM Guest TLB flush IPI emulation questions |
Date: |
Wed, 8 Jan 2014 15:02:34 -0500 |
Hi All,
I have a question regarding Guest TLB flush IPI. Suppose we get two
vcpus 0 and 1.
When vcpu#0 wants to invalidate the tlb entry on vcpu#1. An IPI will
be generated by lapic on vcpu#0 by writing to ICR which will cause a
vmexit.
apic_send_ipi->kvm_irq_delivery_to_apic->kvm_apic_set_irq->__apic_accept_irq
In __apic_accept_irq, it will call kvm_make_request, kvm_vcpu_kick.
If vcpu#1 in guest mode, how can it receives this IPI immediately, or
the stale tlb entry could be accessed. Thanks for your time!
Best Wishes,
Yaohui Hu
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] QEMU-KVM Guest TLB flush IPI emulation questions,
Hu Yaohui <=