Re: [PATCH] Update cr8 intercept when APIC/CR8 is changed by userspace.

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

 



On 08/09/2009 03:17 PM, Gleb Natapov wrote:
Since on vcpu entry we do it only if apic is enabled we should do
it when TPR is changed while apic is disabled. This happens when windows
resets HW without setting TPR to zero.


Applied, thanks.

@@ -4412,6 +4414,7 @@ int kvm_arch_vcpu_ioctl_set_sregs(struct kvm_vcpu *vcpu,
  	vcpu->arch.cr3 = sregs->cr3;

  	kvm_set_cr8(vcpu, sregs->cr8);
+	update_cr8_intercept(vcpu);

  	mmu_reset_needed |= vcpu->arch.shadow_efer != sregs->efer;
  	kvm_x86_ops->set_efer(vcpu, sregs->efer);

Already had this bit, so dropped it.

--
error compiling committee.c: too many arguments to function

--
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