KVM: VMX: access regs array in vmenter.S in its natural order
authorUros Bizjak <ubizjak@gmail.com>
Tue, 10 Mar 2020 17:10:24 +0000 (18:10 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 17 Mar 2020 13:14:32 +0000 (14:14 +0100)
commitbb03911f79f610c857cf82b8ccd434101dd05356
tree3b776e4d489904eef2cce5ab96b6c17b933b0138
parent1c482452d5db0f52e4e8eed95bd7314eec537d78
KVM: VMX: access regs array in vmenter.S in its natural order

Registers in "regs" array are indexed as rax/rcx/rdx/.../rsi/rdi/r8/...
Reorder access to "regs" array in vmenter.S to follow its natural order.

Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmenter.S