summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/include/guest_modes.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-01-08 16:09:53 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2024-01-08 16:09:53 +0300
commit5f53d88f10eb07de0a9bf50e6ad21982e48fd3e3 (patch)
treecf6b71c034f87b2ff8adac94b7a3b2dd87832ab9 /tools/testing/selftests/kvm/include/guest_modes.h
parent783288010035e4c250a0b6491a4642cdb8d30548 (diff)
parent040113fa32f27096f531c377001936e0d7964597 (diff)
downloadlinux-5f53d88f10eb07de0a9bf50e6ad21982e48fd3e3.tar.xz
Merge tag 'kvmarm-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD
KVM/arm64 updates for Linux 6.8 - LPA2 support, adding 52bit IPA/PA capability for 4kB and 16kB base granule sizes. Branch shared with the arm64 tree. - Large Fine-Grained Trap rework, bringing some sanity to the feature, although there is more to come. This comes with a prefix branch shared with the arm64 tree. - Some additional Nested Virtualization groundwork, mostly introducing the NV2 VNCR support and retargetting the NV support to that version of the architecture. - A small set of vgic fixes and associated cleanups.
Diffstat (limited to 'tools/testing/selftests/kvm/include/guest_modes.h')
-rw-r--r--tools/testing/selftests/kvm/include/guest_modes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/testing/selftests/kvm/include/guest_modes.h b/tools/testing/selftests/kvm/include/guest_modes.h
index b691df33e64e..63f5167397cc 100644
--- a/tools/testing/selftests/kvm/include/guest_modes.h
+++ b/tools/testing/selftests/kvm/include/guest_modes.h
@@ -11,8 +11,8 @@ struct guest_mode {
extern struct guest_mode guest_modes[NUM_VM_MODES];
-#define guest_mode_append(mode, supported, enabled) ({ \
- guest_modes[mode] = (struct guest_mode){ supported, enabled }; \
+#define guest_mode_append(mode, enabled) ({ \
+ guest_modes[mode] = (struct guest_mode){ (enabled), (enabled) }; \
})
void guest_modes_append_default(void);