From: Laszlo Ersek <lersek@redhat.com>
To: qemu devel list <qemu-devel@nongnu.org>
Cc: "Eduardo Habkost" <ehabkost@redhat.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Gerd Hoffmann" <kraxel@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Igor Mammedov" <imammedo@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@redhat.com>,
"Richard Henderson" <rth@twiddle.net>
Subject: [PATCH 0/4] hw/i386: pass "MachineState.smp.max_cpus" to OVMF
Date: Tue, 8 Oct 2019 12:52:55 +0200 [thread overview]
Message-ID: <20191008105259.5378-1-lersek@redhat.com> (raw)
https://bugzilla.tianocore.org/show_bug.cgi?id=1515
For enabling VCPU hotplug with OVMF, OVMF needs to know the value of
"max_cpus". This quantity is not passed to the firmware currently --
SeaBIOS receives the (exclusive) maximum APICID, which is not useful to
OVMF --, so introduce a new fw_cfg file for this purpose.
Note: when OVMF is built with -D SMM_REQUIRE, this patch series is just
a small building block, towards the full VCPU hotplug feature. However,
when OVMF is built without -D SMM_REQUIRE, this series (together with
the counterpart patch set for OVMF) completes the VCPU hotplug feature:
it allows S3 resume to work with VCPUs hot-plugged previously (at OS
runtime, of course).
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Igor Mammedov <imammedo@redhat.com>
Cc: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Cc: Richard Henderson <rth@twiddle.net>
Thanks
Laszlo
Laszlo Ersek (4):
fw_cfg: bump file slots to 40
target/i386: remove useless enable_compat_apic_id_mode() prototype
hw/i386: add facility to expose CPU topology over fw-cfg
hw/i386/pc: expose CPU topology over fw-cfg
hw/core/machine.c | 2 ++
hw/i386/fw_cfg.c | 26 ++++++++++++++++++++++++--
hw/i386/fw_cfg.h | 30 +++++++++++++++++++++++++++++-
hw/i386/pc.c | 5 +++--
hw/i386/pc_piix.c | 2 ++
hw/i386/pc_q35.c | 2 ++
hw/nvram/fw_cfg.c | 2 +-
include/hw/i386/pc.h | 3 +++
target/i386/cpu.h | 2 --
9 files changed, 66 insertions(+), 8 deletions(-)
--
2.19.1.3.g30247aa5d201
next reply other threads:[~2019-10-08 10:55 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-08 10:52 Laszlo Ersek [this message]
2019-10-08 10:52 ` [PATCH 1/4] fw_cfg: bump file slots to 40 Laszlo Ersek
2019-10-08 10:52 ` [PATCH 2/4] target/i386: remove useless enable_compat_apic_id_mode() prototype Laszlo Ersek
2019-10-08 13:35 ` Philippe Mathieu-Daudé
2019-10-08 18:22 ` Laszlo Ersek
2019-10-08 10:52 ` [PATCH 3/4] hw/i386: add facility to expose CPU topology over fw-cfg Laszlo Ersek
2019-10-08 13:29 ` Philippe Mathieu-Daudé
2019-10-08 18:31 ` Laszlo Ersek
2019-10-08 15:59 ` Igor Mammedov
2019-10-09 21:01 ` Laszlo Ersek
2019-10-10 9:45 ` Igor Mammedov
2019-10-10 10:01 ` Michael S. Tsirkin
2019-10-10 12:48 ` Igor Mammedov
2019-10-10 16:23 ` Laszlo Ersek
2019-10-10 18:08 ` Michael S. Tsirkin
2019-10-11 6:50 ` Laszlo Ersek
2019-10-11 7:46 ` Laszlo Ersek
2019-10-10 16:15 ` Laszlo Ersek
2019-10-08 18:58 ` Laszlo Ersek
2019-10-09 11:13 ` Igor Mammedov
2019-10-09 21:03 ` Laszlo Ersek
2019-10-09 21:09 ` Eduardo Habkost
2019-10-08 10:52 ` [PATCH 4/4] hw/i386/pc: " Laszlo Ersek
2019-10-08 14:23 ` [PATCH 0/4] hw/i386: pass "MachineState.smp.max_cpus" to OVMF no-reply
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=20191008105259.5378-1-lersek@redhat.com \
--to=lersek@redhat.com \
--cc=ehabkost@redhat.com \
--cc=imammedo@redhat.com \
--cc=kraxel@redhat.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).