]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: x86: Add x86_emulate_ops.get_xcr() callback
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Nov 2025 00:36:29 +0000 (19:36 -0500)
committerSean Christopherson <seanjc@google.com>
Wed, 19 Nov 2025 22:29:55 +0000 (14:29 -0800)
commitf106797f81d633010e6795e34871a31883c9791f
tree9a0081886af391017bbe64b0a5b65342c01ae71d
parent7e11eec989c840ff8cd11cee5005c7ce68ef1ab3
KVM: x86: Add x86_emulate_ops.get_xcr() callback

This will be necessary in order to check whether AVX is enabled.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Chang S. Bae <chang.seok.bae@intel.com>
Link: https://patch.msgid.link/20251114003633.60689-7-pbonzini@redhat.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/kvm_emulate.h
arch/x86/kvm/x86.c