KVM: nVMX: Remove a rogue "rax" clobber from nested_vmx_check_vmentry_hw()
RAX is not touched by nested_vmx_check_vmentry_hw(), directly or
indirectly (e.g. vmx_vmenter()). Remove it from the clobber list.
Fixes: 52017608da
("KVM: nVMX: add option to perform early consistency checks via H/W")
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:

committed by
Paolo Bonzini

parent
6f7c6d23b7
commit
9ce0a07a6f
@@ -2773,7 +2773,7 @@ static int nested_vmx_check_vmentry_hw(struct kvm_vcpu *vcpu)
|
|||||||
[fail]"i"(offsetof(struct vcpu_vmx, fail)),
|
[fail]"i"(offsetof(struct vcpu_vmx, fail)),
|
||||||
[host_rsp]"i"(offsetof(struct vcpu_vmx, host_rsp)),
|
[host_rsp]"i"(offsetof(struct vcpu_vmx, host_rsp)),
|
||||||
[wordsize]"i"(sizeof(ulong))
|
[wordsize]"i"(sizeof(ulong))
|
||||||
: "rax", "cc", "memory"
|
: "cc", "memory"
|
||||||
);
|
);
|
||||||
|
|
||||||
preempt_enable();
|
preempt_enable();
|
||||||
|
Reference in New Issue
Block a user