Searched refs:nmsrs (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/x86_64/ |
D | user_msr_test.c | 59 .nmsrs = KVM_MSR_FILTER_MAX_BITMAP_SIZE * BITS_PER_BYTE, 64 .nmsrs = KVM_MSR_FILTER_MAX_BITMAP_SIZE * BITS_PER_BYTE, 69 .nmsrs = KVM_MSR_FILTER_MAX_BITMAP_SIZE * BITS_PER_BYTE, 74 .nmsrs = KVM_MSR_FILTER_MAX_BITMAP_SIZE * BITS_PER_BYTE, 79 .nmsrs = KVM_MSR_FILTER_MAX_BITMAP_SIZE * BITS_PER_BYTE, 84 .nmsrs = 1,
|
D | xss_msr_test.c | 27 for (i = 0; i < list->nmsrs; ++i) { in is_supported_msr()
|
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/x86_64/ |
D | processor.c | 788 buffer.header.nmsrs = 1; in vcpu_get_msr() 824 buffer.header.nmsrs = 1; in _vcpu_set_msr() 923 struct kvm_msr_list nmsrs; in kvm_get_num_msrs_fd() local 926 nmsrs.nmsrs = 0; in kvm_get_num_msrs_fd() 927 r = ioctl(kvm_fd, KVM_GET_MSR_INDEX_LIST, &nmsrs); in kvm_get_num_msrs_fd() 931 return nmsrs.nmsrs; in kvm_get_num_msrs_fd() 942 int nmsrs, r, kvm_fd; in kvm_get_msr_index_list() local 948 nmsrs = kvm_get_num_msrs_fd(kvm_fd); in kvm_get_msr_index_list() 949 list = malloc(sizeof(*list) + nmsrs * sizeof(list->indices[0])); in kvm_get_msr_index_list() 950 list->nmsrs = nmsrs; in kvm_get_msr_index_list() [all …]
|
/kernel/linux/linux-5.10/tools/arch/x86/include/uapi/asm/ |
D | kvm.h | 183 __u32 nmsrs; /* number of msrs in entries */ member 191 __u32 nmsrs; /* number of msrs in entries */ member 203 __u32 nmsrs; /* number of msrs in bitmap */ member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-x86/asm/ |
D | kvm.h | 166 __u32 nmsrs; member 171 __u32 nmsrs; member 179 __u32 nmsrs; member
|
/kernel/linux/linux-5.10/arch/x86/include/uapi/asm/ |
D | kvm.h | 183 __u32 nmsrs; /* number of msrs in entries */ member 191 __u32 nmsrs; /* number of msrs in entries */ member 203 __u32 nmsrs; /* number of msrs in bitmap */ member
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
D | x86.c | 1557 u32 end = start + ranges[i].nmsrs; in kvm_msr_allowed() 3671 for (i = 0; i < msrs->nmsrs; ++i) in __msr_io() 3698 if (msrs.nmsrs >= MAX_IO_MSRS) in msr_io() 3701 size = sizeof(struct kvm_msr_entry) * msrs.nmsrs; in msr_io() 3882 n = msr_list.nmsrs; in kvm_arch_dev_ioctl() 3883 msr_list.nmsrs = num_msrs_to_save + num_emulated_msrs; in kvm_arch_dev_ioctl() 3887 if (n < msr_list.nmsrs) in kvm_arch_dev_ioctl() 3935 n = msr_list.nmsrs; in kvm_arch_dev_ioctl() 3936 msr_list.nmsrs = num_msr_based_features; in kvm_arch_dev_ioctl() 3940 if (n < msr_list.nmsrs) in kvm_arch_dev_ioctl() [all …]
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | kvm_host.h | 882 u32 nmsrs; member
|
/kernel/linux/linux-5.10/Documentation/virt/kvm/ |
D | api.rst | 214 __u32 nmsrs; /* number of msrs in entries */ 218 The user fills in the size of the indices array in nmsrs, and in return 219 kvm adjusts nmsrs to reflect the actual number of msrs and fills in the 624 __u32 nmsrs; /* number of msrs in entries */ 636 Application code should set the 'nmsrs' member (which indicates the 653 Application code should set the 'nmsrs' member (which indicates the 4731 __u32 nmsrs; /* number of msrs in bitmap */ 4786 Calling this ioctl with an empty set of ranges (all nmsrs == 0) disables MSR 4804 The range goes from MSR index [base .. base+nmsrs]. The flags field
|