Searched refs:xcr0 (Results 1 – 3 of 3) sorted by relevance
57 u64 xcr0 = KVM_SUPPORTED_XCR0 & host_xcr0; in kvm_supported_xcr0() local60 xcr0 &= ~(XFEATURE_MASK_BNDREGS | XFEATURE_MASK_BNDCSR); in kvm_supported_xcr0()62 return xcr0; in kvm_supported_xcr0()113 xstate_required_size(vcpu->arch.xcr0, false); in kvm_update_cpuid()118 best->ebx = xstate_required_size(vcpu->arch.xcr0, true); in kvm_update_cpuid()
820 if (vcpu->arch.xcr0 != host_xcr0) in kvm_load_guest_xcr0()821 xsetbv(XCR_XFEATURE_ENABLED_MASK, vcpu->arch.xcr0); in kvm_load_guest_xcr0()830 if (vcpu->arch.xcr0 != host_xcr0) in kvm_put_guest_xcr0()839 u64 xcr0 = xcr; in __kvm_set_xcr() local840 u64 old_xcr0 = vcpu->arch.xcr0; in __kvm_set_xcr()846 if (!(xcr0 & XFEATURE_MASK_FP)) in __kvm_set_xcr()848 if ((xcr0 & XFEATURE_MASK_YMM) && !(xcr0 & XFEATURE_MASK_SSE)) in __kvm_set_xcr()857 if (xcr0 & ~valid_bits) in __kvm_set_xcr()860 if ((!(xcr0 & XFEATURE_MASK_BNDREGS)) != in __kvm_set_xcr()861 (!(xcr0 & XFEATURE_MASK_BNDCSR))) in __kvm_set_xcr()[all …]
621 u64 xcr0; member