On Thu, Dec 03, 2020 at 13:36:16 +0100, Michal Privoznik wrote:
In this commit two new capabilities are introduced that reflect
device support by give qemu:
QEMU_CAPS_DEVICE_VIRTIO_MEM_PCI, /* -device virtio-mem-pci */
QEMU_CAPS_DEVICE_VIRTIO_PMEM_PCI, /* -device virtio-pmem-pci */
Please note, virtio-pmem device was introduced sooner (QEMU 4.1)
than virtio-mem (QEMU 5.1).
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
src/qemu/qemu_capabilities.c | 4 ++++
src/qemu/qemu_capabilities.h | 2 ++
tests/qemucapabilitiesdata/caps_4.1.0.x86_64.xml | 1 +
tests/qemucapabilitiesdata/caps_4.2.0.x86_64.xml | 1 +
tests/qemucapabilitiesdata/caps_5.0.0.x86_64.xml | 1 +
tests/qemucapabilitiesdata/caps_5.1.0.x86_64.xml | 2 ++
tests/qemucapabilitiesdata/caps_5.2.0.x86_64.xml | 2 ++
7 files changed, 13 insertions(+)
Reviewed-by: Peter Krempa <pkrempa(a)redhat.com>