• Wanpeng Li's avatar
    KVM: LAPIC: Make lapic timer unpinned · 4d151bf3
    Wanpeng Li authored
    Commit 61abdbe0 ("kvm: x86: make lapic hrtimer pinned") pinned the
    lapic timer to avoid to wait until the next kvm exit for the guest to
    see KVM_REQ_PENDING_TIMER set. There is another solution to give a kick
    after setting the KVM_REQ_PENDING_TIMER bit, make lapic timer unpinned
    will be used in follow up patches.
    
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Cc: Radim Krčmář <rkrcmar@redhat.com>
    Cc: Marcelo Tosatti <mtosatti@redhat.com>
    Signed-off-by: default avatarWanpeng Li <wanpengli@tencent.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    4d151bf3
lapic.c 68.2 KB