Searched refs:xcrs (Results 1 – 6 of 6) sorted by relevance
376 struct kvm_xcr xcrs[KVM_MAX_XCRS]; member
321 struct kvm_xcr xcrs[KVM_MAX_XCRS]; member
911 struct kvm_xcrs xcrs; member1008 r = ioctl(vcpu->fd, KVM_GET_XCRS, &state->xcrs); in vcpu_save_state()1053 r = ioctl(vcpu->fd, KVM_SET_XCRS, &state->xcrs); in vcpu_load_state()
4611 guest_xcrs->xcrs[0].xcr = XCR_XFEATURE_ENABLED_MASK; in kvm_vcpu_ioctl_x86_get_xcrs()4612 guest_xcrs->xcrs[0].value = vcpu->arch.xcr0; in kvm_vcpu_ioctl_x86_get_xcrs()4628 if (guest_xcrs->xcrs[i].xcr == XCR_XFEATURE_ENABLED_MASK) { in kvm_vcpu_ioctl_x86_set_xcrs()4630 guest_xcrs->xcrs[i].value); in kvm_vcpu_ioctl_x86_set_xcrs()4712 struct kvm_xcrs *xcrs; in kvm_arch_vcpu_ioctl() member4936 u.xcrs = kzalloc(sizeof(struct kvm_xcrs), GFP_KERNEL_ACCOUNT); in kvm_arch_vcpu_ioctl()4938 if (!u.xcrs) in kvm_arch_vcpu_ioctl()4941 kvm_vcpu_ioctl_x86_get_xcrs(vcpu, u.xcrs); in kvm_arch_vcpu_ioctl()4944 if (copy_to_user(argp, u.xcrs, in kvm_arch_vcpu_ioctl()4951 u.xcrs = memdup_user(argp, sizeof(*u.xcrs)); in kvm_arch_vcpu_ioctl()[all …]
1535 struct kvm_xcr xcrs[KVM_MAX_XCRS];1539 This ioctl would copy current vcpu's xcrs to the userspace.1562 struct kvm_xcr xcrs[KVM_MAX_XCRS];