Home
last modified time | relevance | path

Searched refs:xen_caps (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/kvm/x86_64/
H A Dxen_vmcall_test.c84 unsigned int xen_caps; in main() local
88 xen_caps = kvm_check_cap(KVM_CAP_XEN_HVM); in main()
89 TEST_REQUIRE(xen_caps & KVM_XEN_HVM_CONFIG_INTERCEPT_HCALL); in main()
H A Dxen_shinfo_test.c420 int xen_caps = kvm_check_cap(KVM_CAP_XEN_HVM); in juggle_shinfo_state() local
427 if (xen_caps & KVM_XEN_HVM_CONFIG_SHARED_INFO_HVA) { in juggle_shinfo_state()
448 int xen_caps = kvm_check_cap(KVM_CAP_XEN_HVM); in main() local
449 TEST_REQUIRE(xen_caps & KVM_XEN_HVM_CONFIG_SHARED_INFO); in main()
451 bool do_runstate_tests = !!(xen_caps & KVM_XEN_HVM_CONFIG_RUNSTATE); in main()
452 bool do_runstate_flag = !!(xen_caps & KVM_XEN_HVM_CONFIG_RUNSTATE_UPDATE_FLAG); in main()
453 bool do_eventfd_tests = !!(xen_caps & KVM_XEN_HVM_CONFIG_EVTCHN_2LEVEL); in main()
454 bool do_evtchn_tests = do_eventfd_tests && !!(xen_caps & KVM_XEN_HVM_CONFIG_EVTCHN_SEND); in main()
455 bool has_shinfo_hva = !!(xen_caps & KVM_XEN_HVM_CONFIG_SHARED_INFO_HVA); in main()