On 9/18/25 18:24, Michael Tokarev wrote:
On 13.09.2025 11:09, Paolo Bonzini wrote:
From: Xiaoyao Li <[email protected]>

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- [email protected]/

Hi!

Should this one be fixed for stable qemu releases too?

Yes, good idea.

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

No, this only affects code paths in which you would crash before.

Paolo


Reply via email to