[PATCH v1 0/5] qemu: Allow prealloc for virtio-mem-pci

Michal Privoznik posted 5 patches 2 years, 2 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1642598968.git.mprivozn@redhat.com
src/qemu/qemu_capabilities.c                  |   8 +
src/qemu/qemu_capabilities.h                  |   1 +
src/qemu/qemu_command.c                       | 220 +++++++------
src/qemu/qemu_command.h                       |   6 +-
src/qemu/qemu_hotplug.c                       |   2 +-
.../caps_5.1.0.x86_64.replies                 | 255 +++++++++++++--
.../caps_5.2.0.x86_64.replies                 | 260 ++++++++++++++--
.../caps_6.0.0.x86_64.replies                 | 282 +++++++++++++++--
.../caps_6.1.0.x86_64.replies                 | 282 +++++++++++++++--
.../caps_6.2.0.x86_64.replies                 | 282 +++++++++++++++--
.../caps_7.0.0.x86_64.replies                 | 293 ++++++++++++++++--
.../caps_7.0.0.x86_64.xml                     |   1 +
...mory-hotplug-virtio-mem.x86_64-latest.args |   2 +-
13 files changed, 1646 insertions(+), 248 deletions(-)
[PATCH v1 0/5] qemu: Allow prealloc for virtio-mem-pci
Posted by Michal Privoznik 2 years, 2 months ago
See 5/5 for explanation, but long story short when prealloc is needed we
can't set it on memory-backend-* but on virtio-mem-pci.

Patches 1-3 are cleanup and independent of the feature.

Michal Prívozník (5):
  qemuBuildMemoryDeviceProps: Fix const correctness
  qemu: Separate out hugepages handling from
    qemuBuildMemoryBackendProps()
  qemu: Move @prealloc into qemuBuildMemoryGetPagesize()
  qemu_capabilities: Introduce QEMU_CAPS_DEVICE_VIRTIO_MEM_PCI_PREALLOC
  qemu: Allow prealloc for virtio-mem-pci

 src/qemu/qemu_capabilities.c                  |   8 +
 src/qemu/qemu_capabilities.h                  |   1 +
 src/qemu/qemu_command.c                       | 220 +++++++------
 src/qemu/qemu_command.h                       |   6 +-
 src/qemu/qemu_hotplug.c                       |   2 +-
 .../caps_5.1.0.x86_64.replies                 | 255 +++++++++++++--
 .../caps_5.2.0.x86_64.replies                 | 260 ++++++++++++++--
 .../caps_6.0.0.x86_64.replies                 | 282 +++++++++++++++--
 .../caps_6.1.0.x86_64.replies                 | 282 +++++++++++++++--
 .../caps_6.2.0.x86_64.replies                 | 282 +++++++++++++++--
 .../caps_7.0.0.x86_64.replies                 | 293 ++++++++++++++++--
 .../caps_7.0.0.x86_64.xml                     |   1 +
 ...mory-hotplug-virtio-mem.x86_64-latest.args |   2 +-
 13 files changed, 1646 insertions(+), 248 deletions(-)

-- 
2.34.1