Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

KVM: selftests: Increase UCALL_MAX_ARGS to 7

Increase UCALL_MAX_ARGS to 7 to allow GUEST_ASSERT_4 to pass 3 builtin
ucall arguments specified in guest_assert_builtin_args plus 4
user-specified arguments.

Signed-off-by: Colton Lewis <coltonlewis@google.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Link: https://lore.kernel.org/r/20220615193116.806312-3-coltonlewis@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>

authored by

Colton Lewis and committed by
Sean Christopherson
fc573fa4 8fb2638a

+1 -1
+1 -1
tools/testing/selftests/kvm/include/ucall_common.h
··· 16 16 UCALL_UNHANDLED, 17 17 }; 18 18 19 - #define UCALL_MAX_ARGS 6 19 + #define UCALL_MAX_ARGS 7 20 20 21 21 struct ucall { 22 22 uint64_t cmd;