Release 4.17 include/linux/hypervisor.h
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __LINUX_HYPEVISOR_H
#define __LINUX_HYPEVISOR_H
/*
* Generic Hypervisor support
* Juergen Gross <jgross@suse.com>
*/
#ifdef CONFIG_X86
#include <asm/jailhouse_para.h>
#include <asm/x86_init.h>
static inline void hypervisor_pin_vcpu(int cpu)
{
x86_platform.hyper.pin_vcpu(cpu);
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Juergen Gross | 19 | 100.00% | 1 | 100.00% |
Total | 19 | 100.00% | 1 | 100.00% |
#else /* !CONFIG_X86 */
#include <linux/of.h>
static inline void hypervisor_pin_vcpu(int cpu)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Juergen Gross | 9 | 100.00% | 1 | 100.00% |
Total | 9 | 100.00% | 1 | 100.00% |
static inline bool jailhouse_paravirt(void)
{
return of_find_compatible_node(NULL, NULL, "jailhouse,cell");
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Jan Kiszka | 19 | 100.00% | 1 | 100.00% |
Total | 19 | 100.00% | 1 | 100.00% |
#endif /* !CONFIG_X86 */
#endif /* __LINUX_HYPEVISOR_H */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Juergen Gross | 48 | 63.16% | 2 | 50.00% |
Jan Kiszka | 27 | 35.53% | 1 | 25.00% |
Greg Kroah-Hartman | 1 | 1.32% | 1 | 25.00% |
Total | 76 | 100.00% | 4 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.