Home
last modified time | relevance | path

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

/openbmc/qemu/target/i386/kvm/
H A Dkvm.c163 static struct kvm_msr_list *kvm_feature_msrs; variable
572 if (kvm_feature_msrs == NULL) { /* Host doesn't support feature MSRs */ in kvm_arch_get_supported_msr_feature()
578 for (i = 0; i < kvm_feature_msrs->nmsrs; i++) in kvm_arch_get_supported_msr_feature()
579 if (kvm_feature_msrs->indices[i] == index) { in kvm_arch_get_supported_msr_feature()
582 if (i == kvm_feature_msrs->nmsrs) { in kvm_arch_get_supported_msr_feature()
2399 if (kvm_feature_msrs != NULL) { in kvm_get_supported_feature_msrs()
2418 kvm_feature_msrs = g_malloc0(sizeof(msr_list) + in kvm_get_supported_feature_msrs()
2421 kvm_feature_msrs->nmsrs = msr_list.nmsrs; in kvm_get_supported_feature_msrs()
2427 g_free(kvm_feature_msrs); in kvm_get_supported_feature_msrs()
2428 kvm_feature_msrs = NULL; in kvm_get_supported_feature_msrs()
[all …]