On 3/18/22 12:55, Yang Zhong wrote: > The AMX KVM introduced one new ARCH_GET_XCOMP_SUPP system attribute > API to get host side supported_xcr0 and latest Qemu can decide if it > can request dynamically enabled XSAVE features permission. But this > implementation(19db68ca68) did not consider older kernel release. > This patch can avoid to read this new KVM_GET_DEVICE_ATTR ioctl. > > Signed-off-by: Yang Zhong <yang.zh...@intel.com> > --- > target/i386/kvm/kvm.c | 16 ++++++++-------- > 1 file changed, 8 insertions(+), 8 deletions(-)
Tested-by: Michal Privoznik <mpriv...@redhat.com> Thank you. Michal