[PATCH 0/5] qemu: Prefer -numa cpu over -numa node,cpus=

Michal Privoznik posted 5 patches 2 years, 7 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1632235712.git.mprivozn@redhat.com
src/conf/cpu_conf.c                           |  45 ++----
src/qemu/qemu_command.c                       | 151 ++++++++++++++++--
.../hugepages-nvdimm.x86_64-latest.args       |   4 +-
...memory-default-hugepage.x86_64-latest.args |  10 +-
.../memfd-memory-numa.x86_64-latest.args      |  10 +-
...y-hotplug-nvdimm-access.x86_64-latest.args |   4 +-
...ory-hotplug-nvdimm-align.x86_64-5.2.0.args |   4 +-
...ry-hotplug-nvdimm-align.x86_64-latest.args |   4 +-
...ory-hotplug-nvdimm-label.x86_64-5.2.0.args |   4 +-
...ry-hotplug-nvdimm-label.x86_64-latest.args |   4 +-
...mory-hotplug-nvdimm-pmem.x86_64-5.2.0.args |   4 +-
...ory-hotplug-nvdimm-pmem.x86_64-latest.args |   4 +-
...-hotplug-nvdimm-readonly.x86_64-5.2.0.args |   4 +-
...hotplug-nvdimm-readonly.x86_64-latest.args |   4 +-
.../memory-hotplug-nvdimm.x86_64-latest.args  |   4 +-
...mory-hotplug-virtio-pmem.x86_64-5.2.0.args |   4 +-
...ory-hotplug-virtio-pmem.x86_64-latest.args |   4 +-
.../numatune-hmat.x86_64-latest.args          |  18 ++-
...emnode-restrictive-mode.x86_64-latest.args |  38 ++++-
.../numatune-memnode.x86_64-5.2.0.args        |  38 ++++-
.../numatune-memnode.x86_64-latest.args       |  38 ++++-
...vhost-user-fs-fd-memory.x86_64-latest.args |   4 +-
...vhost-user-fs-hugepages.x86_64-latest.args |   4 +-
...host-user-gpu-secondary.x86_64-latest.args |   3 +-
.../vhost-user-vga.x86_64-latest.args         |   3 +-
25 files changed, 338 insertions(+), 76 deletions(-)
[PATCH 0/5] qemu: Prefer -numa cpu over -numa node,cpus=
Posted by Michal Privoznik 2 years, 7 months ago
I've sent these patches a while ago. Resending them again to resume the
discussion.

https://listman.redhat.com/archives/libvir-list/2020-May/msg01035.html

Michal Prívozník (5):
  virCPUDefParseXML: Parse uint using virXPathUInt()
  virCPUDefParseXML: Prefer virXMLPropUInt over virXPathUInt
  qemuBuildNumaCommandLine: Move vars into loops
  qemuBuildNumaCommandLine: Separate out building of CPU list
  qemu: Prefer -numa cpu over -numa node,cpus=

 src/conf/cpu_conf.c                           |  45 ++----
 src/qemu/qemu_command.c                       | 151 ++++++++++++++++--
 .../hugepages-nvdimm.x86_64-latest.args       |   4 +-
 ...memory-default-hugepage.x86_64-latest.args |  10 +-
 .../memfd-memory-numa.x86_64-latest.args      |  10 +-
 ...y-hotplug-nvdimm-access.x86_64-latest.args |   4 +-
 ...ory-hotplug-nvdimm-align.x86_64-5.2.0.args |   4 +-
 ...ry-hotplug-nvdimm-align.x86_64-latest.args |   4 +-
 ...ory-hotplug-nvdimm-label.x86_64-5.2.0.args |   4 +-
 ...ry-hotplug-nvdimm-label.x86_64-latest.args |   4 +-
 ...mory-hotplug-nvdimm-pmem.x86_64-5.2.0.args |   4 +-
 ...ory-hotplug-nvdimm-pmem.x86_64-latest.args |   4 +-
 ...-hotplug-nvdimm-readonly.x86_64-5.2.0.args |   4 +-
 ...hotplug-nvdimm-readonly.x86_64-latest.args |   4 +-
 .../memory-hotplug-nvdimm.x86_64-latest.args  |   4 +-
 ...mory-hotplug-virtio-pmem.x86_64-5.2.0.args |   4 +-
 ...ory-hotplug-virtio-pmem.x86_64-latest.args |   4 +-
 .../numatune-hmat.x86_64-latest.args          |  18 ++-
 ...emnode-restrictive-mode.x86_64-latest.args |  38 ++++-
 .../numatune-memnode.x86_64-5.2.0.args        |  38 ++++-
 .../numatune-memnode.x86_64-latest.args       |  38 ++++-
 ...vhost-user-fs-fd-memory.x86_64-latest.args |   4 +-
 ...vhost-user-fs-hugepages.x86_64-latest.args |   4 +-
 ...host-user-gpu-secondary.x86_64-latest.args |   3 +-
 .../vhost-user-vga.x86_64-latest.args         |   3 +-
 25 files changed, 338 insertions(+), 76 deletions(-)

-- 
2.32.0