Home
last modified time | relevance | path

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

/Linux-v5.15/arch/x86/kvm/
Dx86.c4844 struct kvm_xcrs *guest_xcrs) in kvm_vcpu_ioctl_x86_get_xcrs() argument
4847 guest_xcrs->nr_xcrs = 0; in kvm_vcpu_ioctl_x86_get_xcrs()
4851 guest_xcrs->nr_xcrs = 1; in kvm_vcpu_ioctl_x86_get_xcrs()
4852 guest_xcrs->flags = 0; in kvm_vcpu_ioctl_x86_get_xcrs()
4853 guest_xcrs->xcrs[0].xcr = XCR_XFEATURE_ENABLED_MASK; in kvm_vcpu_ioctl_x86_get_xcrs()
4854 guest_xcrs->xcrs[0].value = vcpu->arch.xcr0; in kvm_vcpu_ioctl_x86_get_xcrs()
4858 struct kvm_xcrs *guest_xcrs) in kvm_vcpu_ioctl_x86_set_xcrs() argument
4865 if (guest_xcrs->nr_xcrs > KVM_MAX_XCRS || guest_xcrs->flags) in kvm_vcpu_ioctl_x86_set_xcrs()
4868 for (i = 0; i < guest_xcrs->nr_xcrs; i++) in kvm_vcpu_ioctl_x86_set_xcrs()
4870 if (guest_xcrs->xcrs[i].xcr == XCR_XFEATURE_ENABLED_MASK) { in kvm_vcpu_ioctl_x86_set_xcrs()
[all …]