Avi Kivity wrote:
On 12/06/2009 04:51 PM, Jan Kiszka wrote:
KVM_GET_MSR_INDEX_LIST returns -E2BIG when the provided space is too
small for all MSRs. But this is precisely the error we trigger with the
initial request in order to obtain that size. Do not fail in that case.

This caused a subtle corruption of the guest state as MSR_STAR was not
properly saved/restored. The corruption became visible with latest kvm
optimizing the MSR updates.

I applied this to qemu-kvm since it missed 0.12-rc1.

I've got it in my tree. It will be a part of 0.12-rc2 and I'll push to master today.

Don't know when 0.11.2 will happen but I'll also push it to the stable-0.11 branch.

--
Regards,

Anthony Liguori



Reply via email to