cpuid_leaf
static int __sev_cpuid_hv_msr(struct cpuid_leaf *leaf)
snp_cpuid_get_validated_func(struct cpuid_leaf *leaf)
static void snp_cpuid_hv_msr(void *ctx, struct cpuid_leaf *leaf)
snp_cpuid_postprocess(void (*cpuid_fn)(void *ctx, struct cpuid_leaf *leaf),
void *ctx, struct cpuid_leaf *leaf)
struct cpuid_leaf leaf_hv = *leaf;
int snp_cpuid(void (*cpuid_fn)(void *ctx, struct cpuid_leaf *leaf),
void *ctx, struct cpuid_leaf *leaf)
struct cpuid_leaf leaf;
static int __sev_cpuid_hv_ghcb(struct ghcb *ghcb, struct es_em_ctxt *ctxt, struct cpuid_leaf *leaf)
static void snp_cpuid_hv_ghcb(void *p, struct cpuid_leaf *leaf)
struct cpuid_leaf leaf;
((const struct cpuid_regs *)(cpuid_leaf(_cpuinfo, _leaf)))
int snp_cpuid(void (*cpuid_fn)(void *ctx, struct cpuid_leaf *leaf),
void *ctx, struct cpuid_leaf *leaf);
unsigned int cpuid_leaf = bhyve_cpuid_base | CPUID_BHYVE_FEATURES;
if (bhyve_cpuid_max < cpuid_leaf)
return cpuid_eax(cpuid_leaf);