Home
last modified time | relevance | path

Searched refs:xcrs (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/arch/x86/include/asm/
Dkvm.h320 struct kvm_xcr xcrs[KVM_MAX_XCRS]; member
/linux-3.4.99/arch/x86/kvm/
Dx86.c2564 guest_xcrs->xcrs[0].xcr = XCR_XFEATURE_ENABLED_MASK; in kvm_vcpu_ioctl_x86_get_xcrs()
2565 guest_xcrs->xcrs[0].value = vcpu->arch.xcr0; in kvm_vcpu_ioctl_x86_get_xcrs()
2581 if (guest_xcrs->xcrs[0].xcr == XCR_XFEATURE_ENABLED_MASK) { in kvm_vcpu_ioctl_x86_set_xcrs()
2583 guest_xcrs->xcrs[0].value); in kvm_vcpu_ioctl_x86_set_xcrs()
2600 struct kvm_xcrs *xcrs; in kvm_arch_vcpu_ioctl() member
2821 u.xcrs = kzalloc(sizeof(struct kvm_xcrs), GFP_KERNEL); in kvm_arch_vcpu_ioctl()
2823 if (!u.xcrs) in kvm_arch_vcpu_ioctl()
2826 kvm_vcpu_ioctl_x86_get_xcrs(vcpu, u.xcrs); in kvm_arch_vcpu_ioctl()
2829 if (copy_to_user(argp, u.xcrs, in kvm_arch_vcpu_ioctl()
2836 u.xcrs = memdup_user(argp, sizeof(*u.xcrs)); in kvm_arch_vcpu_ioctl()
[all …]
/linux-3.4.99/Documentation/virtual/kvm/
Dapi.txt1019 struct kvm_xcr xcrs[KVM_MAX_XCRS];
1023 This ioctl would copy current vcpu's xcrs to the userspace.
1042 struct kvm_xcr xcrs[KVM_MAX_XCRS];