[libvirt] [PATCH 00/11] qemu: Add support for ARM CPU features

Michal Privoznik mprivozn at redhat.com
Thu Nov 7 14:39:52 UTC 2019


On 11/6/19 4:47 PM, Andrea Bolognani wrote:
> Starting with QEMU 4.2.0, ARM guests support CPU features similarly
> to what's been the case on x86 since forever; notably, it's now
> possible to enable SVE (Scalable Vector Extension).
> 
> Some of the patches in the series (notably 1/11) are snipped; the
> unabridged version can be obtained with
> 
>    $ git fetch https://gitlab.com/abologna/libvirt.git sve
> 
> Andrea Bolognani (11):
>    tests: Update capabilities for QEMU 4.2.0 on aarch64
>    qemu: Rename virQEMUCapsObjectPropsMaxX86CPU
>    qemu: Introduce QEMU_CAPS_ARM_MAX_CPU
>    qemu: Query max-arm-cpu properties
>    qemu: Update query-cpu-model-expansion check
>    qemu: Perform full expansion on ARM
>    cpu_map: Introduce ARM CPU features
>    cpu: Validate ARM CPU features
>    qemu: Validate ARM CPU features
>    tests: Introduce tests for ARM CPU features
>    news: Update for ARM CPU features
> 
>   docs/news.xml                                 |    9 +
>   src/cpu/cpu_arm.c                             |  157 +
>   src/cpu_map/arm_features.xml                  |   22 +
>   src/cpu_map/index.xml                         |    4 +
>   src/qemu/qemu_capabilities.c                  |   20 +-
>   src/qemu/qemu_capabilities.h                  |    3 +
>   src/qemu/qemu_command.c                       |    3 +-
>   src/qemu/qemu_domain.c                        |   37 +
>   .../qemu_4.2.0-virt.aarch64.xml               |    2 +-
>   tests/domaincapsdata/qemu_4.2.0.aarch64.xml   |    2 +-
>   .../caps_2.12.0.aarch64.replies               |  159 +-
>   .../caps_2.12.0.aarch64.xml                   |    1 +
>   .../caps_4.0.0.aarch64.replies                |  159 +-
>   .../caps_4.0.0.aarch64.xml                    |    1 +
>   .../caps_4.2.0.aarch64.replies                | 3755 ++++++++++-------
>   .../caps_4.2.0.aarch64.xml                    |   52 +-
>   .../aarch64-features-sve-disabled.xml         |   18 +
>   .../aarch64-features-sve.aarch64-latest.args  |   32 +
>   .../qemuxml2argvdata/aarch64-features-sve.xml |   20 +
>   .../aarch64-features-wrong.xml                |   17 +
>   tests/qemuxml2argvtest.c                      |    9 +
>   .../aarch64-features-sve.aarch64-latest.xml   |   31 +
>   tests/qemuxml2xmltest.c                       |    3 +
>   23 files changed, 3029 insertions(+), 1487 deletions(-)
>   create mode 100644 src/cpu_map/arm_features.xml
>   create mode 100644 tests/qemuxml2argvdata/aarch64-features-sve-disabled.xml
>   create mode 100644 tests/qemuxml2argvdata/aarch64-features-sve.aarch64-latest.args
>   create mode 100644 tests/qemuxml2argvdata/aarch64-features-sve.xml
>   create mode 100644 tests/qemuxml2argvdata/aarch64-features-wrong.xml
>   create mode 100644 tests/qemuxml2xmloutdata/aarch64-features-sve.aarch64-latest.xml
> 

Reviewed-by: Michal Privoznik <mprivozn at redhat.com>

Michal




More information about the libvir-list mailing list