Searched refs:hyper_node (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/arch/powerpc/kernel/ |
D | firmware.c | 26 struct device_node *hyper_node; in is_kvm_guest() local 28 hyper_node = of_find_node_by_path("/hypervisor"); in is_kvm_guest() 29 if (!hyper_node) in is_kvm_guest() 32 if (!of_device_is_compatible(hyper_node, "linux,kvm")) in is_kvm_guest()
|
/Linux-v5.10/arch/arm/xen/ |
D | enlighten.c | 206 } hyper_node = {"xen,xen", "xen,xen-", NULL, false}; variable 217 if (of_flat_dt_is_compatible(node, hyper_node.compat)) in fdt_find_hyper_node() 218 hyper_node.found = true; in fdt_find_hyper_node() 221 if (strlen(hyper_node.prefix) + 3 < len && in fdt_find_hyper_node() 222 !strncmp(hyper_node.prefix, s, strlen(hyper_node.prefix))) in fdt_find_hyper_node() 223 hyper_node.version = s + strlen(hyper_node.prefix); in fdt_find_hyper_node() 248 if (!hyper_node.found) { in xen_early_init() 253 if (hyper_node.version == NULL) { in xen_early_init() 258 pr_info("Xen %s support found\n", hyper_node.version); in xen_early_init()
|