Searched refs:msr_list (Results 1 – 2 of 2) sorted by relevance
1069 const struct kvm_msr_list *msr_list = kvm_get_msr_index_list(); in vcpu_save_state() 1090 state = malloc(sizeof(*state) + msr_list->nmsrs * sizeof(state->msrs.entries[0])); in vcpu_save_state() 1114 state->msrs.nmsrs = msr_list->nmsrs; in vcpu_load_state() 1115 for (i = 0; i < msr_list->nmsrs; i++) in vcpu_load_state() 1116 state->msrs.entries[i].index = msr_list->indices[i]; in vcpu_load_state() 1045 const struct kvm_msr_list *msr_list = kvm_get_msr_index_list(); vcpu_save_state() local
4840 struct kvm_msr_list msr_list; in kvm_arch_dev_ioctl() local4844 if (copy_from_user(&msr_list, user_msr_list, sizeof(msr_list))) in kvm_arch_dev_ioctl()4846 n = msr_list.nmsrs; in kvm_arch_dev_ioctl()4847 msr_list.nmsrs = num_msrs_to_save + num_emulated_msrs; in kvm_arch_dev_ioctl()4848 if (copy_to_user(user_msr_list, &msr_list, sizeof(msr_list))) in kvm_arch_dev_ioctl()4851 if (n < msr_list.nmsrs) in kvm_arch_dev_ioctl()4893 struct kvm_msr_list msr_list; in kvm_arch_dev_ioctl() local4897 if (copy_from_user(&msr_list, user_msr_list, sizeof(msr_list))) in kvm_arch_dev_ioctl()4899 n = msr_list.nmsrs; in kvm_arch_dev_ioctl()4900 msr_list.nmsrs = num_msr_based_features; in kvm_arch_dev_ioctl()[all …]