Re: [PATCH] KVM: VMX: Fix delayed load of shared MSRs

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

 



On Tue, Mar 06, 2012, Avi Kivity wrote about "[PATCH] KVM: VMX: Fix delayed load of shared MSRs":
> Shared MSRs (MSR_*STAR and related) are stored in both vmx->guest_msrs
> and in the CPU registers, but vmx_set_msr() only updated memory. Prior
> to 46199f33c2953, this didn't matter, since we called vmx_load_host_state(),
> which scheduled a vmx_save_host_state(), which re-synchronized the CPU
> state, but now we don't, so the CPU state will not be synchronized until
> the next exit to host userspace.  This mostly affects nested vmx workloads,
> which play with these MSRs a lot.

Thanks. I checked this patch, and indeed it solves the bug with nested
VMX.

-- 
Nadav Har'El                        |                    Tuesday, Mar 6 2012, 
nyh@xxxxxxxxxxxxxxxxxxx             |-----------------------------------------
Phone +972-523-790466, ICQ 13349191 |I think therefore I am. My computer
http://nadav.harel.org.il           |thinks for me, therefore I am not.
--
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