From: Damien Hedde <damien.hedde@greensocs.com>
To: qemu-devel@nongnu.org
Cc: "Damien Hedde" <damien.hedde@greensocs.com>,
"Eduardo Habkost" <eduardo@habkost.net>,
"Daniel P. Berrangé" <berrange@redhat.com>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
"Yanan Wang" <wangyanan55@huawei.com>,
"Paolo Bonzini" <pbonzini@redhat.com>
Subject: [PATCH 0/5] Generalize the sysbus device machine allowance
Date: Wed, 30 Mar 2022 18:12:10 +0200 [thread overview]
Message-ID: <20220330161215.235231-1-damien.hedde@greensocs.com> (raw)
Hi all,
This series transforms the TYPE_SYSBUS_DEVICE allowed list that exists
in machine class model into a TYPE_DEVICE allowed list.
This will allow to add non-sysbus device into this list to prevent
the user to create them on most machines.
Typical use case will be for example cpu related devices like
these developed in the following series:
https://lore.kernel.org/qemu-devel/20220330125639.201937-1-damien.hedde@greensocs.com/
Thanks,
--
Damien
Damien Hedde (5):
qdev: add uc_requires_machine_allowance flag
machine: update machine allowed list related functions/fields
qdev-monitor: use the newly uc_requires_machine_allowance
rename machine_class_allow_dynamic_sysbus_dev
machine: remove temporary inline functions
include/hw/boards.h | 40 ++++++++++++++++++-------------------
include/hw/qdev-core.h | 6 ++++++
hw/arm/virt.c | 10 +++++-----
hw/core/machine.c | 10 +++++-----
hw/core/qdev.c | 1 +
hw/core/sysbus.c | 1 +
hw/i386/microvm.c | 2 +-
hw/i386/pc_piix.c | 4 ++--
hw/i386/pc_q35.c | 8 ++++----
hw/ppc/e500plat.c | 2 +-
hw/ppc/spapr.c | 2 +-
hw/riscv/virt.c | 2 +-
hw/xen/xen-legacy-backend.c | 2 +-
softmmu/qdev-monitor.c | 8 ++++----
14 files changed, 53 insertions(+), 45 deletions(-)
--
2.35.1
next reply other threads:[~2022-03-30 16:17 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-30 16:12 Damien Hedde [this message]
2022-03-30 16:12 ` [PATCH 1/5] qdev: add uc_requires_machine_allowance flag Damien Hedde
2022-03-31 10:21 ` Philippe Mathieu-Daudé
2022-03-31 10:48 ` Damien Hedde
2022-03-30 16:12 ` [PATCH 2/5] machine: update machine allowed list related functions/fields Damien Hedde
2022-03-31 10:20 ` Philippe Mathieu-Daudé
2022-03-30 16:12 ` [PATCH 3/5] qdev-monitor: use the newly uc_requires_machine_allowance Damien Hedde
2022-03-30 16:12 ` [PATCH 4/5] rename machine_class_allow_dynamic_sysbus_dev Damien Hedde
2022-03-31 10:19 ` Philippe Mathieu-Daudé
2022-03-30 16:12 ` [PATCH 5/5] machine: remove temporary inline functions Damien Hedde
2022-03-31 10:19 ` Philippe Mathieu-Daudé
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=20220330161215.235231-1-damien.hedde@greensocs.com \
--to=damien.hedde@greensocs.com \
--cc=berrange@redhat.com \
--cc=eduardo@habkost.net \
--cc=f4bug@amsat.org \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=wangyanan55@huawei.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 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).