mirror of https://gitee.com/openkylin/qemu.git
42cc8fa620
These FPU states are properly maintained by KVM but not yet by TCG. So far we unconditionally set them to 0 in the guest which may cause state corruptions, though not with modern guests. To avoid breaking backward migration, use a conditional subsection that is only written if any of the three fields is non-zero. The guest's FNINIT clears them frequently, and cleared IA32_MISC_ENABLE MSR[2] reduces the probability of non-zero values further so that this subsection is not expected to restrict migration in any common scenario. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Avi Kivity <avi@redhat.com> |
||
---|---|---|
.. | ||
TODO | ||
cpu.h | ||
cpuid.c | ||
exec.h | ||
helper.c | ||
helper.h | ||
helper_template.h | ||
kvm.c | ||
machine.c | ||
op_helper.c | ||
ops_sse.h | ||
ops_sse_header.h | ||
svm.h | ||
translate.c |