[PATCH 0/7] cli: Remove mentions of legacy '-machine foo,accel=bar' command line

Philippe Mathieu-Daudé posted 7 patches 1 year, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20241203092153.60590-1-philmd@linaro.org
Maintainers: Richard Henderson <richard.henderson@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>, David Hildenbrand <david@redhat.com>, Igor Mammedov <imammedo@redhat.com>, Xiao Guangrong <xiaoguangrong.eric@gmail.com>, Stefan Berger <stefanb@linux.vnet.ibm.com>, Peter Maydell <peter.maydell@linaro.org>, Nicholas Piggin <npiggin@gmail.com>, "Frédéric Barrat" <fbarrat@linux.ibm.com>, Daniel Henrique Barboza <danielhb413@gmail.com>, Harsh Prateek Bora <harshpb@linux.ibm.com>, Laurent Vivier <laurent@vivier.eu>, Alexander Bulekov <alxndr@bu.edu>, Bandan Das <bsd@redhat.com>, Stefan Hajnoczi <stefanha@redhat.com>, Fabiano Rosas <farosas@suse.de>, Darren Kenny <darren.kenny@oracle.com>, Qiuhao Li <Qiuhao.Li@outlook.com>, Markus Armbruster <armbru@redhat.com>
docs/about/removed-features.rst                |  2 +-
docs/bypass-iommu.txt                          |  3 ++-
docs/nvdimm.txt                                |  2 +-
docs/specs/tpm.rst                             |  2 +-
docs/system/arm/cpu-features.rst               |  2 +-
docs/system/cpu-hotplug.rst                    |  2 +-
docs/system/ppc/powernv.rst                    |  2 +-
docs/system/ppc/pseries.rst                    |  4 ++--
linux-user/s390x/target_proc.h                 |  2 +-
accel/tcg/monitor.c                            |  4 ++--
system/vl.c                                    |  2 +-
tests/qtest/fuzz/generic_fuzz.c                |  2 +-
tests/qtest/fuzz/i440fx_fuzz.c                 |  2 +-
tests/qtest/fuzz/qos_fuzz.c                    |  2 +-
tests/qtest/qmp-cmd-test.c                     |  2 +-
qemu-options.hx                                |  9 ---------
scripts/device-crash-test                      | 11 ++++++++---
scripts/oss-fuzz/output_reproducer.py          |  2 --
scripts/oss-fuzz/reorder_fuzzer_qtest_trace.py |  6 +++---
tests/functional/test_ppc64_hv.py              |  3 ++-
tests/functional/test_virtio_gpu.py            |  6 ++++--
21 files changed, 35 insertions(+), 37 deletions(-)
[PATCH 0/7] cli: Remove mentions of legacy '-machine foo,accel=bar' command line
Posted by Philippe Mathieu-Daudé 1 year, 2 months ago
Thomas told '-machine foo,accel=bar' is sugar and almost
deprecated. Rather than having bad examples in the tree,
remove the legacy form and update to the new '-accel bar'
one.

Xen uses via MachineClass::default_machine_opts left for later:

hw/i386/pc_piix.c:818:    m->default_machine_opts = "accel=xen,suppress-vmdesc=on";
hw/i386/pc_piix.c:830:    m->default_machine_opts = "accel=xen,suppress-vmdesc=on";
hw/xen/xen-pvh-common.c:381:    mc->default_machine_opts = "accel=xen";
hw/xenpv/xen_machine_pv.c:69:    mc->default_machine_opts = "accel=xen";

Philippe Mathieu-Daudé (7):
  tests/functional/test_ppc64_hv: Remove legacy '-machine foo,accel=bar'
  tests/functional/test_virtio_gpu: Remove legacy '-machine
    foo,accel=bar'
  tests/qtest/fuzz: Remove legacy '-machine foo,accel=bar'
  scripts/device-crash-test: Remove legacy '-machine foo,accel=bar'
  accel/tcg: Remove mentions of legacy '-machine foo,accel=bar'
  accel/kvm: Remove mentions of legacy '-machine foo,accel=bar'
  qemu-options: Remove mentions of legacy '-machine foo,accel=bar'

 docs/about/removed-features.rst                |  2 +-
 docs/bypass-iommu.txt                          |  3 ++-
 docs/nvdimm.txt                                |  2 +-
 docs/specs/tpm.rst                             |  2 +-
 docs/system/arm/cpu-features.rst               |  2 +-
 docs/system/cpu-hotplug.rst                    |  2 +-
 docs/system/ppc/powernv.rst                    |  2 +-
 docs/system/ppc/pseries.rst                    |  4 ++--
 linux-user/s390x/target_proc.h                 |  2 +-
 accel/tcg/monitor.c                            |  4 ++--
 system/vl.c                                    |  2 +-
 tests/qtest/fuzz/generic_fuzz.c                |  2 +-
 tests/qtest/fuzz/i440fx_fuzz.c                 |  2 +-
 tests/qtest/fuzz/qos_fuzz.c                    |  2 +-
 tests/qtest/qmp-cmd-test.c                     |  2 +-
 qemu-options.hx                                |  9 ---------
 scripts/device-crash-test                      | 11 ++++++++---
 scripts/oss-fuzz/output_reproducer.py          |  2 --
 scripts/oss-fuzz/reorder_fuzzer_qtest_trace.py |  6 +++---
 tests/functional/test_ppc64_hv.py              |  3 ++-
 tests/functional/test_virtio_gpu.py            |  6 ++++--
 21 files changed, 35 insertions(+), 37 deletions(-)

-- 
2.45.2