Skip to content
Commit 5233dd51 authored by Marcelo Tosatti's avatar Marcelo Tosatti Committed by Avi Kivity
Browse files

KVM: VMX: do not overwrite uptodate vcpu->arch.cr3 on KVM_SET_SREGS



Only decache guest CR3 value if vcpu->arch.cr3 is stale.
Fixes loadvm with live guest.

Signed-off-by: default avatarMarcelo Tosatti <mtosatti@redhat.com>
Tested-by: default avatarMarkus Schade <markus.schade@gmail.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent b7233635
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment