summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests
diff options
context:
space:
mode:
authorColton Lewis <coltonlewis@google.com>2022-06-15 21:31:14 +0200
committerSean Christopherson <seanjc@google.com>2022-07-14 03:14:07 +0200
commitfc573fa4f38aa0cecace00d00cc60109ae947834 (patch)
treee810c2050385705c9169efbc1853fd8c326a00ea /tools/testing/selftests
parentKVM: selftests: enumerate GUEST_ASSERT arguments (diff)
downloadlinux-fc573fa4f38aa0cecace00d00cc60109ae947834.tar.xz
linux-fc573fa4f38aa0cecace00d00cc60109ae947834.zip
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>
Diffstat (limited to 'tools/testing/selftests')
-rw-r--r--tools/testing/selftests/kvm/include/ucall_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/kvm/include/ucall_common.h b/tools/testing/selftests/kvm/include/ucall_common.h
index dbe872870b83..568c562f14cd 100644
--- a/tools/testing/selftests/kvm/include/ucall_common.h
+++ b/tools/testing/selftests/kvm/include/ucall_common.h
@@ -16,7 +16,7 @@ enum {
UCALL_UNHANDLED,
};
-#define UCALL_MAX_ARGS 6
+#define UCALL_MAX_ARGS 7
struct ucall {
uint64_t cmd;