]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_validate: Check capability for virtio-mem dynamicMemslots
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 4 Jan 2024 10:04:51 +0000 (11:04 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 30 Jan 2024 09:44:36 +0000 (10:44 +0100)
commit6be07af817e0a8d48613296af66873e62a73339a
tree32fdbc0715535b878d578997b01c0c8042fea24d
parent497cab753b801c7a66e2a480482e5144665ecbf4
qemu_validate: Check capability for virtio-mem dynamicMemslots

The QEMU_CAPS_DEVICE_VIRTIO_MEM_PCI_DYNAMIC_MEMSLOTS reflects
whether QEMU is capable of .dynamic-memslots for virtio-mem.
Use it when validating domain configuration.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_validate.c