KVM: VMX: Simplify saving guest rcx in vmx_vcpu_run
authorAvi Kivity <avi@redhat.com>
Thu, 6 Jan 2011 16:09:11 +0000 (18:09 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 17 Mar 2011 16:08:25 +0000 (13:08 -0300)
commit1c696d0e1b7c10e1e8b34cb6c797329e3c33f262
treecba560950eb5404c6083d570e4c4b951003237fc
parent00c25bce02fde63eaa1227532cff9ac7b71de79e
KVM: VMX: Simplify saving guest rcx in vmx_vcpu_run

Change

  push top-of-stack
  pop guest-rcx
  pop dummy

to

  pop guest-rcx

which is the same thing, only simpler.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/vmx.c