Searched refs:guest_xcrs (Results 1 – 1 of 1) sorted by relevance
5434 struct kvm_xcrs *guest_xcrs) in kvm_vcpu_ioctl_x86_get_xcrs() argument5437 guest_xcrs->nr_xcrs = 0; in kvm_vcpu_ioctl_x86_get_xcrs()5441 guest_xcrs->nr_xcrs = 1; in kvm_vcpu_ioctl_x86_get_xcrs()5442 guest_xcrs->flags = 0; in kvm_vcpu_ioctl_x86_get_xcrs()5443 guest_xcrs->xcrs[0].xcr = XCR_XFEATURE_ENABLED_MASK; in kvm_vcpu_ioctl_x86_get_xcrs()5444 guest_xcrs->xcrs[0].value = vcpu->arch.xcr0; in kvm_vcpu_ioctl_x86_get_xcrs()5448 struct kvm_xcrs *guest_xcrs) in kvm_vcpu_ioctl_x86_set_xcrs() argument5455 if (guest_xcrs->nr_xcrs > KVM_MAX_XCRS || guest_xcrs->flags) in kvm_vcpu_ioctl_x86_set_xcrs()5458 for (i = 0; i < guest_xcrs->nr_xcrs; i++) in kvm_vcpu_ioctl_x86_set_xcrs()5460 if (guest_xcrs->xcrs[i].xcr == XCR_XFEATURE_ENABLED_MASK) { in kvm_vcpu_ioctl_x86_set_xcrs()[all …]