回复: 回复: [PATCH] target/i386: Clear xsave pkru bit when KVM XCR0 not support

2023-05-20 Thread Yuchen
negative > impact. > At the same time, it increases the compatibility of qemu to kernel and > improves the robustness of qemu. > > > -邮件原件- > > 发件人: Paolo Bonzini > > 发送时间: 2023年5月20日 1:37 > > 收件人: yuchen (Cloud) > > 主题: Re: 回复: [PATCH] target/i

回复: 回复: [PATCH] target/i386: Clear xsave pkru bit when KVM XCR0 not support

2023-05-19 Thread Yuchen
to kernel and improves the robustness of qemu. > -邮件原件- > 发件人: Paolo Bonzini > 发送时间: 2023年5月20日 1:37 > 收件人: yuchen (Cloud) > 主题: Re: 回复: [PATCH] target/i386: Clear xsave pkru bit when KVM > XCR0 not support > > On 5/18/23 14:37, Yuchen wrote: > > Yes, b

Re: [PATCH] target/i386: Clear xsave pkru bit when KVM XCR0 not support

2023-05-17 Thread Dongli Zhang
Hi Yuchen, On 5/17/23 03:55, Yuchen wrote: > Migrating guest from Intel new CPU (as Gold 6230) to old CPU (as > E5-2650 v4) will pause on the destination host. Because old CPU > not support xsave pkru feature, and KVM KVM_SET_XSAVE ioctl > return EINVAL. > > This kernel commit introduces the

Re: [PATCH] target/i386: Clear xsave pkru bit when KVM XCR0 not support

2023-05-17 Thread Paolo Bonzini
On 5/17/23 12:55, Yuchen wrote: Migrating guest from Intel new CPU (as Gold 6230) to old CPU (as E5-2650 v4) will pause on the destination host. Because old CPU not support xsave pkru feature, and KVM KVM_SET_XSAVE ioctl return EINVAL. This kernel commit introduces the problem: ea4d6938d4c0

[PATCH] target/i386: Clear xsave pkru bit when KVM XCR0 not support

2023-05-17 Thread Yuchen
Migrating guest from Intel new CPU (as Gold 6230) to old CPU (as E5-2650 v4) will pause on the destination host. Because old CPU not support xsave pkru feature, and KVM KVM_SET_XSAVE ioctl return EINVAL. This kernel commit introduces the problem: ea4d6938d4c0 x86/fpu: Replace KVMs home brewed FPU