]> git.baikalelectronics.ru Git - kernel.git/commitdiff
KVM: selftests: Increase UCALL_MAX_ARGS to 7
authorColton Lewis <coltonlewis@google.com>
Wed, 15 Jun 2022 19:31:14 +0000 (19:31 +0000)
committerSean Christopherson <seanjc@google.com>
Thu, 14 Jul 2022 01:14:07 +0000 (18:14 -0700)
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>
tools/testing/selftests/kvm/include/ucall_common.h

index dbe872870b837fa6193f572e620bdc373913d203..568c562f14cd29687762f7df4798a551d6e39dc1 100644 (file)
@@ -16,7 +16,7 @@ enum {
        UCALL_UNHANDLED,
 };
 
-#define UCALL_MAX_ARGS 6
+#define UCALL_MAX_ARGS 7
 
 struct ucall {
        uint64_t cmd;