Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dxen_vmcall_test.c83 unsigned int xen_caps; in main() local
87 xen_caps = kvm_check_cap(KVM_CAP_XEN_HVM); in main()
88 TEST_REQUIRE(xen_caps & KVM_XEN_HVM_CONFIG_INTERCEPT_HCALL); in main()
H A Dxen_shinfo_test.c438 int xen_caps = kvm_check_cap(KVM_CAP_XEN_HVM); in main() local
439 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()
/openbmc/qemu/target/i386/kvm/
H A Dxen-emu.c119 int xen_caps, ret; in kvm_xen_init() local
121 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()
/openbmc/qemu/include/sysemu/
H A Dkvm_int.h156 uint32_t xen_caps; member