Home
last modified time | relevance | path

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

/tools/testing/selftests/kvm/x86_64/
Duser_msr_test.c59 .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,
Dxss_msr_test.c27 for (i = 0; i < list->nmsrs; ++i) { in is_supported_msr()
/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c788 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 …]
/tools/arch/x86/include/uapi/asm/
Dkvm.h183 __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