aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/git:/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2022-09-28 23:36:48 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2022-09-30 06:39:32 -0400
commit04f2f60befc9af274c1790e626cc79334b1f4489 (patch)
treeec98f01a932c5383b3303b91cba1d0f775a9f3a8 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com
parentKVM: selftests: Compare insn opcodes directly in fix_hypercall_test (diff)
downloadlinux-dev-04f2f60befc9af274c1790e626cc79334b1f4489.tar.xz
linux-dev-04f2f60befc9af274c1790e626cc79334b1f4489.zip
KVM: selftests: Remove unnecessary register shuffling in fix_hypercall_test
Use input constraints to load RAX and RBX when testing that KVM correctly does/doesn't patch the "wrong" hypercall. There's no need to manually load RAX and RBX, and no reason to clobber them either (KVM is not supposed to modify anything other than RAX). Signed-off-by: Sean Christopherson <seanjc@google.com> Reviewed-by: Oliver Upton <oliver.upton@linux.dev> Message-Id: <20220928233652.783504-4-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions