All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Gryanko <xpahos@gmail.com>
To: qemu-devel@nongnu.org
Cc: imammedo@redhat.com, mst@redhat.com, philmd@linaro.org,
	anisinha@redhat.com, pbonzini@redhat.com,
	richard.henderson@linaro.org, zhao1.liu@intel.com,
	Alexander Gryanko <xpahos@gmail.com>
Subject: [PATCH v2 0/3] hw/smbios: Add dedicated handle range for Type 8 tables
Date: Tue, 16 Jun 2026 16:59:01 +0300	[thread overview]
Message-ID: <20260616135904.44930-1-xpahos@gmail.com> (raw)

This is a continuation of the work originally proposed by Felix Wu [1],
which changed the SMBIOS Type 8 handle base unconditionally. As Igor
Mammedov pointed out in review, an unconditional change would break
live migration between hosts running different QEMU versions.
This series addresses the review feedback by:
- Using machine-type versioning (pc-*-11.2) to opt in to the new
  behavior, preserving T0_BASE for older machine types
- Adding a PCMachineClass field to control the setting per machine type
- Adding tests for both new and compat machine versions
[1] https://lists.gnu.org/archive/html/qemu-devel/2024-01/msg03208.html

Changes since v1:
- Resent with Igor Mammedov on Cc as the ACPI/SMBIOS supporter.
- No code changes.

Alexander Gryanko (3):
  hw/i386/pc: Introduce 11.2 machine type for SMBIOS type 8 base
    migration
  hw/smbios: Add dedicated handle range for Type 8 tables
  tests/qtest: Add SMBIOS Type 8 handle base tests

 hw/core/machine.c              |  3 ++
 hw/i386/fw_cfg.c               |  1 +
 hw/i386/pc.c                   |  3 ++
 hw/i386/pc_piix.c              | 16 +++++++-
 hw/i386/pc_q35.c               | 16 +++++++-
 hw/smbios/smbios.c             | 10 ++++-
 include/hw/core/boards.h       |  3 ++
 include/hw/firmware/smbios.h   |  1 +
 include/hw/i386/pc.h           |  4 ++
 tests/qtest/bios-tables-test.c | 70 +++++++++++++++++++++++++++++++++-
 10 files changed, 121 insertions(+), 6 deletions(-)

-- 
2.39.5 (Apple Git-154)



             reply	other threads:[~2026-06-16 14:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-16 13:59 Alexander Gryanko [this message]
2026-06-16 13:59 ` [PATCH v2 1/3] hw/i386/pc: Introduce 11.2 machine type for SMBIOS type 8 base migration Alexander Gryanko
2026-06-16 14:09   ` Daniel P. Berrangé
2026-06-16 13:59 ` [PATCH v2 2/3] hw/smbios: Add dedicated handle range for Type 8 tables Alexander Gryanko
2026-06-16 13:59 ` [PATCH v2 3/3] tests/qtest: Add SMBIOS Type 8 handle base tests Alexander Gryanko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260616135904.44930-1-xpahos@gmail.com \
    --to=xpahos@gmail.com \
    --cc=anisinha@redhat.com \
    --cc=imammedo@redhat.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=richard.henderson@linaro.org \
    --cc=zhao1.liu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.