[PATCH 0/2] conf: Fix formatting of 'associativity' and 'policy' cache attributes

Peter Krempa posted 2 patches 11 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1684225967.git.pkrempa@redhat.com
src/conf/numa_conf.c                          | 73 +++++--------------
.../numatune-hmat-none.x86_64-latest.args     | 49 +++++++++++++
tests/qemuxml2argvdata/numatune-hmat-none.xml | 54 ++++++++++++++
tests/qemuxml2argvtest.c                      |  1 +
.../numatune-hmat-none.x86_64-latest.xml      | 55 ++++++++++++++
tests/qemuxml2xmltest.c                       |  1 +
6 files changed, 178 insertions(+), 55 deletions(-)
create mode 100644 tests/qemuxml2argvdata/numatune-hmat-none.x86_64-latest.args
create mode 100644 tests/qemuxml2argvdata/numatune-hmat-none.xml
create mode 100644 tests/qemuxml2xmloutdata/numatune-hmat-none.x86_64-latest.xml
[PATCH 0/2] conf: Fix formatting of 'associativity' and 'policy' cache attributes
Posted by Peter Krempa 11 months, 1 week ago
Peter Krempa (2):
  virDomainNumaDefNodeCacheParseXML: Refactor parsing of cache XML
  conf: numa: Allow formatting 'none' values for 'associativity' and
    'policy' of cache

 src/conf/numa_conf.c                          | 73 +++++--------------
 .../numatune-hmat-none.x86_64-latest.args     | 49 +++++++++++++
 tests/qemuxml2argvdata/numatune-hmat-none.xml | 54 ++++++++++++++
 tests/qemuxml2argvtest.c                      |  1 +
 .../numatune-hmat-none.x86_64-latest.xml      | 55 ++++++++++++++
 tests/qemuxml2xmltest.c                       |  1 +
 6 files changed, 178 insertions(+), 55 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/numatune-hmat-none.x86_64-latest.args
 create mode 100644 tests/qemuxml2argvdata/numatune-hmat-none.xml
 create mode 100644 tests/qemuxml2xmloutdata/numatune-hmat-none.x86_64-latest.xml

-- 
2.40.1
Re: [PATCH 0/2] conf: Fix formatting of 'associativity' and 'policy' cache attributes
Posted by Michal Prívozník 11 months, 1 week ago
On 5/16/23 10:33, Peter Krempa wrote:
> Peter Krempa (2):
>   virDomainNumaDefNodeCacheParseXML: Refactor parsing of cache XML
>   conf: numa: Allow formatting 'none' values for 'associativity' and
>     'policy' of cache
> 
>  src/conf/numa_conf.c                          | 73 +++++--------------
>  .../numatune-hmat-none.x86_64-latest.args     | 49 +++++++++++++
>  tests/qemuxml2argvdata/numatune-hmat-none.xml | 54 ++++++++++++++
>  tests/qemuxml2argvtest.c                      |  1 +
>  .../numatune-hmat-none.x86_64-latest.xml      | 55 ++++++++++++++
>  tests/qemuxml2xmltest.c                       |  1 +
>  6 files changed, 178 insertions(+), 55 deletions(-)
>  create mode 100644 tests/qemuxml2argvdata/numatune-hmat-none.x86_64-latest.args
>  create mode 100644 tests/qemuxml2argvdata/numatune-hmat-none.xml
>  create mode 100644 tests/qemuxml2xmloutdata/numatune-hmat-none.x86_64-latest.xml
> 

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

Michal