Searched refs:xcrs (Results 1 – 5 of 5) sorted by relevance
750 struct kvm_xcrs xcrs; member812 r = ioctl(vcpu->fd, KVM_GET_XCRS, &state->xcrs); in vcpu_save_state()861 r = ioctl(vcpu->fd, KVM_SET_XCRS, &state->xcrs); in vcpu_load_state()
353 struct kvm_xcr xcrs[KVM_MAX_XCRS]; member
3652 guest_xcrs->xcrs[0].xcr = XCR_XFEATURE_ENABLED_MASK; in kvm_vcpu_ioctl_x86_get_xcrs()3653 guest_xcrs->xcrs[0].value = vcpu->arch.xcr0; in kvm_vcpu_ioctl_x86_get_xcrs()3669 if (guest_xcrs->xcrs[i].xcr == XCR_XFEATURE_ENABLED_MASK) { in kvm_vcpu_ioctl_x86_set_xcrs()3671 guest_xcrs->xcrs[i].value); in kvm_vcpu_ioctl_x86_set_xcrs()3723 struct kvm_xcrs *xcrs; in kvm_arch_vcpu_ioctl() member3946 u.xcrs = kzalloc(sizeof(struct kvm_xcrs), GFP_KERNEL); in kvm_arch_vcpu_ioctl()3948 if (!u.xcrs) in kvm_arch_vcpu_ioctl()3951 kvm_vcpu_ioctl_x86_get_xcrs(vcpu, u.xcrs); in kvm_arch_vcpu_ioctl()3954 if (copy_to_user(argp, u.xcrs, in kvm_arch_vcpu_ioctl()3961 u.xcrs = memdup_user(argp, sizeof(*u.xcrs)); in kvm_arch_vcpu_ioctl()[all …]
1270 struct kvm_xcr xcrs[KVM_MAX_XCRS];1274 This ioctl would copy current vcpu's xcrs to the userspace.1294 struct kvm_xcr xcrs[KVM_MAX_XCRS];