[libvirt] [PATCH v2 0/3] Improve PPC CPU driver

Li Zhang zhlcindy at gmail.com
Thu Sep 5 08:34:48 UTC 2013


ping ?

On 2013年09月03日 14:28, Li Zhang wrote:
> From: Li Zhang <zhlcindy at linux.vnet.ibm.com>
>
> Currently, PPC CPU driver doesn't support to parse guest data.
> It can't pass CPU parameters to Qemu command line.
>
> This patchset is to implement .guestData to support to parse guest
> CPU configuration and .update to support host-model and host-passthrough.
>
> The guest CPU configuration is as the following:
>    <cpu match='exact'>
>      <model>POWER7_v2.3</model>
>      <vendor>IBM</vendor>
>    </cpu>
>
> v2 -> v1:
>    * Remove features functions calling for non-x86 platform (Doug Goldstein)
>    * Improve update code.
>    * Merge update code with guestData.
>
> Li Zhang (3):
>    Remove CPU features check for non-x86 platform.
>    cpu: Implement guestData and update for PPC
>    cpu: Add cpu test cases for PPC CPU driver.
>
>   src/cpu/cpu_powerpc.c                              | 178 ++++++++++++++++++++-
>   src/qemu/qemu_command.c                            |  16 +-
>   tests/cputest.c                                    |   9 ++
>   tests/cputestdata/ppc64-baseline-1-result.xml      |   3 +
>   .../ppc64-baseline-incompatible-vendors.xml        |  14 ++
>   .../ppc64-baseline-no-vendor-result.xml            |   3 +
>   tests/cputestdata/ppc64-baseline-no-vendor.xml     |   7 +
>   tests/cputestdata/ppc64-exact.xml                  |   3 +
>   tests/cputestdata/ppc64-guest-nofallback.xml       |   4 +
>   tests/cputestdata/ppc64-guest.xml                  |   4 +
>   .../ppc64-host+guest,ppc_models-result.xml         |   5 +
>   ...st-nofallback,ppc_models,POWER7_v2.1-result.xml |   5 +
>   tests/cputestdata/ppc64-host.xml                   |   6 +
>   tests/cputestdata/ppc64-strict.xml                 |   3 +
>   .../qemuxml2argv-pseries-cpu-exact.args            |   7 +
>   .../qemuxml2argv-pseries-cpu-exact.xml             |  21 +++
>   tests/qemuxml2argvtest.c                           |   1 +
>   17 files changed, 279 insertions(+), 10 deletions(-)
>   create mode 100644 tests/cputestdata/ppc64-baseline-1-result.xml
>   create mode 100644 tests/cputestdata/ppc64-baseline-incompatible-vendors.xml
>   create mode 100644 tests/cputestdata/ppc64-baseline-no-vendor-result.xml
>   create mode 100644 tests/cputestdata/ppc64-baseline-no-vendor.xml
>   create mode 100644 tests/cputestdata/ppc64-exact.xml
>   create mode 100644 tests/cputestdata/ppc64-guest-nofallback.xml
>   create mode 100644 tests/cputestdata/ppc64-guest.xml
>   create mode 100644 tests/cputestdata/ppc64-host+guest,ppc_models-result.xml
>   create mode 100644 tests/cputestdata/ppc64-host+guest-nofallback,ppc_models,POWER7_v2.1-result.xml
>   create mode 100644 tests/cputestdata/ppc64-host.xml
>   create mode 100644 tests/cputestdata/ppc64-strict.xml
>   create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-pseries-cpu-exact.args
>   create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-pseries-cpu-exact.xml
>




More information about the libvir-list mailing list