KVM: VMX: do not overwrite uptodate vcpu->arch.cr3 on KVM_SET_SREGS
authorMarcelo Tosatti <mtosatti@redhat.com>
Mon, 6 Jun 2011 17:27:47 +0000 (14:27 -0300)
committerAvi Kivity <avi@redhat.com>
Sun, 19 Jun 2011 16:23:13 +0000 (19:23 +0300)
Only decache guest CR3 value if vcpu->arch.cr3 is stale.
Fixes loadvm with live guest.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Tested-by: Markus Schade <markus.schade@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found