Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/kvm/
Dx86.c5307 struct kvm_xcrs *guest_xcrs) in kvm_vcpu_ioctl_x86_get_xcrs() argument
5310 guest_xcrs->nr_xcrs = 0; in kvm_vcpu_ioctl_x86_get_xcrs()
5314 guest_xcrs->nr_xcrs = 1; in kvm_vcpu_ioctl_x86_get_xcrs()
5315 guest_xcrs->flags = 0; in kvm_vcpu_ioctl_x86_get_xcrs()
5316 guest_xcrs->xcrs[0].xcr = XCR_XFEATURE_ENABLED_MASK; in kvm_vcpu_ioctl_x86_get_xcrs()
5317 guest_xcrs->xcrs[0].value = vcpu->arch.xcr0; in kvm_vcpu_ioctl_x86_get_xcrs()
5321 struct kvm_xcrs *guest_xcrs) in kvm_vcpu_ioctl_x86_set_xcrs() argument
5328 if (guest_xcrs->nr_xcrs > KVM_MAX_XCRS || guest_xcrs->flags) in kvm_vcpu_ioctl_x86_set_xcrs()
5331 for (i = 0; i < guest_xcrs->nr_xcrs; i++) in kvm_vcpu_ioctl_x86_set_xcrs()
5333 if (guest_xcrs->xcrs[i].xcr == XCR_XFEATURE_ENABLED_MASK) { in kvm_vcpu_ioctl_x86_set_xcrs()
[all …]