summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2019-01-25 07:41:15 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2019-02-20 22:48:15 +0100
commita62fd5a76c99dd96c74c6638408961b7ff3c71c4 (patch)
tree04a1631f17bbfd156d6f1332103eedfcac56b973 /init
parentee2fc635ef714b1d46da3616bbec972067f0d187 (diff)
KVM: VMX: Use RAX as the scratch register during vCPU-run
...to prepare for making the sub-routine callable from C code. That means returning the result in RAX. Since RAX will be used to return the result, use it as the scratch register as well to make the code readable and to document that the scratch register is more or less arbitrary. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions