[PATCH V2 0/3] Change default machine type for ARM and RISC-V

Jim Fehlig posted 3 patches 1 year, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20230417165204.31882-1-jfehlig@suse.com
NEWS.rst                                           |  6 ++++++
src/qemu/qemu_capabilities.c                       | 10 +++++-----
tests/domaincapsdata/qemu_4.2.0.aarch64.xml        | 14 ++++++++++----
tests/domaincapsdata/qemu_5.0.0.aarch64.xml        | 14 ++++++++++----
tests/domaincapsdata/qemu_5.2.0.aarch64.xml        | 14 ++++++++++----
tests/domaincapsdata/qemu_6.0.0.aarch64.xml        | 14 ++++++++++----
tests/domaincapsdata/qemu_6.2.0.aarch64.xml        | 14 ++++++++++----
.../domaincapsdata/qemu_7.0.0-hvf.aarch64+hvf.xml  |  6 ++++--
tests/domaincapsdata/qemu_7.0.0.aarch64.xml        | 14 ++++++++++----
tests/qemucapabilitiesdata/caps_4.2.0_aarch64.xml  |  4 ++--
tests/qemucapabilitiesdata/caps_5.0.0_aarch64.xml  |  8 ++++----
tests/qemucapabilitiesdata/caps_5.0.0_riscv64.xml  |  2 +-
tests/qemucapabilitiesdata/caps_5.2.0_aarch64.xml  |  8 ++++----
tests/qemucapabilitiesdata/caps_5.2.0_riscv64.xml  |  2 +-
tests/qemucapabilitiesdata/caps_6.0.0_aarch64.xml  |  8 ++++----
tests/qemucapabilitiesdata/caps_6.2.0_aarch64.xml  |  8 ++++----
.../caps_7.0.0_aarch64+hvf.xml                     |  8 ++++----
tests/qemucapabilitiesdata/caps_7.0.0_aarch64.xml  |  8 ++++----
tests/qemucapabilitiesdata/caps_8.0.0_riscv64.xml  |  4 ++--
19 files changed, 105 insertions(+), 61 deletions(-)
[PATCH V2 0/3] Change default machine type for ARM and RISC-V
Posted by Jim Fehlig 1 year, 1 month ago
It is difficult, if not impossible, to create usable ARM and RISC-V VMs
using the current default machine types of 'integratorcp' and 'spike_v1.10'.
Change the default to the more suitable 'virt' type. See the following
thread for more details

https://listman.redhat.com/archives/libvir-list/2023-March/238746.html

V1:
https://listman.redhat.com/archives/libvir-list/2023-April/239392.html

Changes in V2:
Change the default for more ARM and RISC-V architectures
Reword NEWS entry

Jim Fehlig (3):
  qemu: Change default machine type for ARM
  qemu: Change default machine type for RISC-V
  NEWS: Mention change of default machine type for ARM and RISC-V

 NEWS.rst                                           |  6 ++++++
 src/qemu/qemu_capabilities.c                       | 10 +++++-----
 tests/domaincapsdata/qemu_4.2.0.aarch64.xml        | 14 ++++++++++----
 tests/domaincapsdata/qemu_5.0.0.aarch64.xml        | 14 ++++++++++----
 tests/domaincapsdata/qemu_5.2.0.aarch64.xml        | 14 ++++++++++----
 tests/domaincapsdata/qemu_6.0.0.aarch64.xml        | 14 ++++++++++----
 tests/domaincapsdata/qemu_6.2.0.aarch64.xml        | 14 ++++++++++----
 .../domaincapsdata/qemu_7.0.0-hvf.aarch64+hvf.xml  |  6 ++++--
 tests/domaincapsdata/qemu_7.0.0.aarch64.xml        | 14 ++++++++++----
 tests/qemucapabilitiesdata/caps_4.2.0_aarch64.xml  |  4 ++--
 tests/qemucapabilitiesdata/caps_5.0.0_aarch64.xml  |  8 ++++----
 tests/qemucapabilitiesdata/caps_5.0.0_riscv64.xml  |  2 +-
 tests/qemucapabilitiesdata/caps_5.2.0_aarch64.xml  |  8 ++++----
 tests/qemucapabilitiesdata/caps_5.2.0_riscv64.xml  |  2 +-
 tests/qemucapabilitiesdata/caps_6.0.0_aarch64.xml  |  8 ++++----
 tests/qemucapabilitiesdata/caps_6.2.0_aarch64.xml  |  8 ++++----
 .../caps_7.0.0_aarch64+hvf.xml                     |  8 ++++----
 tests/qemucapabilitiesdata/caps_7.0.0_aarch64.xml  |  8 ++++----
 tests/qemucapabilitiesdata/caps_8.0.0_riscv64.xml  |  4 ++--
 19 files changed, 105 insertions(+), 61 deletions(-)

-- 
2.40.0
Re: [PATCH V2 0/3] Change default machine type for ARM and RISC-V
Posted by Andrea Bolognani 1 year ago
On Mon, Apr 17, 2023 at 10:52:01AM -0600, Jim Fehlig wrote:
> Jim Fehlig (3):
>   qemu: Change default machine type for ARM
>   qemu: Change default machine type for RISC-V
>   NEWS: Mention change of default machine type for ARM and RISC-V

Nit in 3/3 to be taken care of before pushing. Everything else looks
excellent. Thanks a lot for looking into this!

Reviewed-by: Andrea Bolognani <abologna@redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization