[PATCH for-11.1 0/2] target/i386: Allow 32-bit SMM code to be used in the 64-bit binary

Thomas Huth posted 2 patches 1 week, 1 day ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260325120944.29391-1-thuth@redhat.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>
target/i386/tcg/system/smm_helper.c | 104 ++++++++++++++++++----------
1 file changed, 69 insertions(+), 35 deletions(-)
[PATCH for-11.1 0/2] target/i386: Allow 32-bit SMM code to be used in the 64-bit binary
Posted by Thomas Huth 1 week, 1 day ago
Here are two patches that I just resurrected from an older branch
on my hard disk. They might come in handy when we finally switch
to an universal QEMU binary that contains both targets, the x86_64
and the i386 target at once. In this case we need the SMM code for
both, 32-bit and 64-bit mode in the binary, and select it during
runtime.

Thomas Huth (2):
  target/i386/tcg/sysemu: Move target specific SMM code to separate
    functions
  target/i386/tcg/sysemu: Allow 32-bit SMM code to be used in the 64-bit
    binary

 target/i386/tcg/system/smm_helper.c | 104 ++++++++++++++++++----------
 1 file changed, 69 insertions(+), 35 deletions(-)

-- 
2.53.0
Re: [PATCH for-11.1 0/2] target/i386: Allow 32-bit SMM code to be used in the 64-bit binary
Posted by Philippe Mathieu-Daudé 1 week, 1 day ago
On 25/3/26 13:09, Thomas Huth wrote:
> Here are two patches that I just resurrected from an older branch
> on my hard disk. They might come in handy when we finally switch
> to an universal QEMU binary that contains both targets, the x86_64
> and the i386 target at once. In this case we need the SMM code for
> both, 32-bit and 64-bit mode in the binary, and select it during
> runtime.

Thanks!