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

Michal Privoznik mprivozn at redhat.com
Wed Jan 19 13:32:13 UTC 2022


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




More information about the libvir-list mailing list