Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e5314067 authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: VMX: Avoid exit when setting cr8 if the local apic is in the kernel



With apic in userspace, we must exit to userspace after a cr8 write in order
to update the tpr.  But if the apic is in the kernel, the exit is unnecessary.

Noticed by Joerg Roedel.

Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent e934c9c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment