On 13.09.2025 11:09, Paolo Bonzini wrote:
From: Xiaoyao Li <xiaoyao...@intel.com>

Kirill Martynov reported assertation in cpu_asidx_from_attrs() being hit
when x86_cpu_dump_state() is called to dump the CPU state[*]. It happens
when the CPU is in SMM and KVM emulation failure due to misbehaving
guest.

The root cause is that QEMU i386 never enables the SMM address space for
cpu since KVM SMM support has been added.

Enable the SMM cpu address space under KVM when the SMM is enabled for
the x86machine.

[*] 
https://lore.kernel.org/qemu-devel/20250523154431.506993-1-stdcalll...@yandex-team.ru/

Hi!

Should this one be fixed for stable qemu releases too?

Also, what are the possible implications for migration
of guests between qemu versions with and without this change?

Thanks,

/mjt

Reply via email to