[PATCH v2 0/1] target: New binary to prototype heterogeneous machines

Philippe Mathieu-Daudé posted 1 patch 5 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20240209152945.25727-1-philmd@linaro.org
Maintainers: "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Thomas Huth <thuth@redhat.com>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Beraldo Leal <bleal@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Eric Blake <eblake@redhat.com>, Markus Armbruster <armbru@redhat.com>, Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Yanan Wang <wangyanan55@huawei.com>
There is a newer version of this series
configs/devices/any-softmmu/default.mak |  9 +++++++++
configs/targets/any-softmmu.mak         |  3 +++
meson.build                             |  6 ++++--
qapi/machine.json                       |  2 +-
include/sysemu/arch_init.h              |  1 +
target/any/cpu-param.h                  | 13 +++++++++++++
target/any/cpu-qom.h                    | 12 ++++++++++++
target/any/cpu.h                        | 24 ++++++++++++++++++++++++
.gitlab-ci.d/buildtest.yml              | 20 ++++++++++++++++++++
hw/any/meson.build                      |  5 +++++
hw/meson.build                          |  1 +
target/Kconfig                          |  1 +
target/any/Kconfig                      |  4 ++++
target/any/meson.build                  |  7 +++++++
target/meson.build                      |  1 +
15 files changed, 106 insertions(+), 3 deletions(-)
create mode 100644 configs/devices/any-softmmu/default.mak
create mode 100644 configs/targets/any-softmmu.mak
create mode 100644 target/any/cpu-param.h
create mode 100644 target/any/cpu-qom.h
create mode 100644 target/any/cpu.h
create mode 100644 hw/any/meson.build
create mode 100644 target/any/Kconfig
create mode 100644 target/any/meson.build
[PATCH v2 0/1] target: New binary to prototype heterogeneous machines
Posted by Philippe Mathieu-Daudé 5 months, 2 weeks ago
Almost 2 years later we got hundreds of cleanups patches
merged, so we can get this patch in. Building the 'any'
target has to be explictly requested in ./configure
target-list argument.

This binary will be use to rework QEMU startup code,
paving the way toward dynamic machines. It might also
allow experimenting with multiple TCG target frontends
and possibly prototyping concurrent HW/SW accelerations.

The corresponding CI jobs takes <5min:
https://gitlab.com/philmd/qemu/-/jobs/6138476547
Duration: 4 minutes 42 seconds

v1: https://lore.kernel.org/qemu-devel/20220215002658.60678-1-f4bug@amsat.org/

Philippe Mathieu-Daudé (1):
  target: Add system emulation aiming to target any architecture

 configs/devices/any-softmmu/default.mak |  9 +++++++++
 configs/targets/any-softmmu.mak         |  3 +++
 meson.build                             |  6 ++++--
 qapi/machine.json                       |  2 +-
 include/sysemu/arch_init.h              |  1 +
 target/any/cpu-param.h                  | 13 +++++++++++++
 target/any/cpu-qom.h                    | 12 ++++++++++++
 target/any/cpu.h                        | 24 ++++++++++++++++++++++++
 .gitlab-ci.d/buildtest.yml              | 20 ++++++++++++++++++++
 hw/any/meson.build                      |  5 +++++
 hw/meson.build                          |  1 +
 target/Kconfig                          |  1 +
 target/any/Kconfig                      |  4 ++++
 target/any/meson.build                  |  7 +++++++
 target/meson.build                      |  1 +
 15 files changed, 106 insertions(+), 3 deletions(-)
 create mode 100644 configs/devices/any-softmmu/default.mak
 create mode 100644 configs/targets/any-softmmu.mak
 create mode 100644 target/any/cpu-param.h
 create mode 100644 target/any/cpu-qom.h
 create mode 100644 target/any/cpu.h
 create mode 100644 hw/any/meson.build
 create mode 100644 target/any/Kconfig
 create mode 100644 target/any/meson.build

-- 
2.41.0


Re: [PATCH v2 0/1] target: New binary to prototype heterogeneous machines
Posted by Philippe Mathieu-Daudé 5 months, 2 weeks ago
On 9/2/24 16:29, Philippe Mathieu-Daudé wrote:

> This binary will be use to rework QEMU startup code,
> paving the way toward dynamic machines. It might also
> allow experimenting with multiple TCG target frontends
> and possibly prototyping concurrent HW/SW accelerations.

> v1: https://lore.kernel.org/qemu-devel/20220215002658.60678-1-f4bug@amsat.org/

Supersedes: <20220215002658.60678-1-f4bug@amsat.org>