Home
last modified time | relevance | path

Searched refs:guest_modes (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/tools/testing/selftests/kvm/lib/
Dguest_modes.c12 struct guest_mode guest_modes[NUM_VM_MODES]; variable
50 if (guest_modes[i].supported && guest_modes[i].enabled) in guest_modes_append_default()
91 if (!guest_modes[i].enabled) in for_each_guest_mode()
93 TEST_ASSERT(guest_modes[i].supported, in for_each_guest_mode()
110 guest_modes[i].supported ? " (supported)" : ""); in guest_modes_help()
122 guest_modes[i].enabled = false; in guest_modes_cmdline()
128 guest_modes[mode].enabled = true; in guest_modes_cmdline()
/linux-6.12.1/tools/testing/selftests/kvm/include/
Dguest_modes.h12 extern struct guest_mode guest_modes[NUM_VM_MODES];
15 guest_modes[mode] = (struct guest_mode){ (enabled), (enabled) }; \
/linux-6.12.1/tools/testing/selftests/kvm/
DMakefile22 LIBKVM += lib/guest_modes.c