Searched refs:kvm_feature_msrs (Results 1 – 1 of 1) sorted by relevance
184 static struct kvm_msr_list *kvm_feature_msrs; variable593 if (kvm_feature_msrs == NULL) { /* Host doesn't support feature MSRs */ in kvm_arch_get_supported_msr_feature()599 for (i = 0; i < kvm_feature_msrs->nmsrs; i++) in kvm_arch_get_supported_msr_feature()600 if (kvm_feature_msrs->indices[i] == index) { in kvm_arch_get_supported_msr_feature()603 if (i == kvm_feature_msrs->nmsrs) { in kvm_arch_get_supported_msr_feature()2447 if (kvm_feature_msrs != NULL) { in kvm_get_supported_feature_msrs()2466 kvm_feature_msrs = g_malloc0(sizeof(msr_list) + in kvm_get_supported_feature_msrs()2469 kvm_feature_msrs->nmsrs = msr_list.nmsrs; in kvm_get_supported_feature_msrs()2470 ret = kvm_ioctl(s, KVM_GET_MSR_FEATURE_INDEX_LIST, kvm_feature_msrs); in kvm_get_supported_feature_msrs()2475 g_free(kvm_feature_msrs); in kvm_get_supported_feature_msrs()[all …]