Searched refs:xen_caps (Results 1 – 4 of 4) sorted by relevance
83 unsigned int xen_caps; in main() local87 xen_caps = kvm_check_cap(KVM_CAP_XEN_HVM); in main()88 TEST_REQUIRE(xen_caps & KVM_XEN_HVM_CONFIG_INTERCEPT_HCALL); in main()
438 int xen_caps = kvm_check_cap(KVM_CAP_XEN_HVM); in main() local439 TEST_REQUIRE(xen_caps & KVM_XEN_HVM_CONFIG_SHARED_INFO); in main()441 bool do_runstate_tests = !!(xen_caps & KVM_XEN_HVM_CONFIG_RUNSTATE); in main()442 bool do_runstate_flag = !!(xen_caps & KVM_XEN_HVM_CONFIG_RUNSTATE_UPDATE_FLAG); in main()443 bool do_eventfd_tests = !!(xen_caps & KVM_XEN_HVM_CONFIG_EVTCHN_2LEVEL); in main()444 bool do_evtchn_tests = do_eventfd_tests && !!(xen_caps & KVM_XEN_HVM_CONFIG_EVTCHN_SEND); in main()
119 int xen_caps, ret; in kvm_xen_init() local121 xen_caps = kvm_check_extension(s, KVM_CAP_XEN_HVM); in kvm_xen_init()122 if (required_caps & ~xen_caps) { in kvm_xen_init()127 if (xen_caps & KVM_XEN_HVM_CONFIG_EVTCHN_SEND) { in kvm_xen_init()145 if (s->xen_caps) { in kvm_xen_init()176 s->xen_caps = xen_caps; in kvm_xen_init()242 return kvm_state->xen_caps; in kvm_xen_get_caps()
156 uint32_t xen_caps; member