mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15:17 +00:00
QEMU: declare qemu capabilities for the Virtio Free page reporting feature
This patch will introduce the free-page-reporting feature capabilities that are in qemu 5.1 Signed-off-by: Nico Pache <npache@redhat.com> Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
fee8a61d29
commit
5032b247e9
@ -600,6 +600,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
|
||||
|
||||
/* 380 */
|
||||
"usb-host.hostdevice",
|
||||
"virtio-balloon.free-page-reporting",
|
||||
);
|
||||
|
||||
|
||||
@ -1341,6 +1342,7 @@ static struct virQEMUCapsDevicePropsFlags virQEMUCapsDevicePropsVirtioBalloon[]
|
||||
{ "iommu_platform", QEMU_CAPS_VIRTIO_PCI_IOMMU_PLATFORM, NULL },
|
||||
{ "ats", QEMU_CAPS_VIRTIO_PCI_ATS, NULL },
|
||||
{ "packed", QEMU_CAPS_VIRTIO_PACKED_QUEUES, NULL },
|
||||
{ "free-page-reporting", QEMU_CAPS_VIRTIO_BALLOON_FREE_PAGE_REPORTING, NULL },
|
||||
};
|
||||
|
||||
|
||||
|
@ -580,6 +580,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
||||
|
||||
/* 380 */
|
||||
QEMU_CAPS_USB_HOST_HOSTDEVICE, /* -device usb-host.hostdevice */
|
||||
QEMU_CAPS_VIRTIO_BALLOON_FREE_PAGE_REPORTING, /*virtio balloon free-page-reporting */
|
||||
|
||||
QEMU_CAPS_LAST /* this must always be the last item */
|
||||
} virQEMUCapsFlags;
|
||||
|
@ -243,6 +243,7 @@
|
||||
<flag name='numa.hmat'/>
|
||||
<flag name='blockdev-hostdev-scsi'/>
|
||||
<flag name='usb-host.hostdevice'/>
|
||||
<flag name='virtio-balloon.free-page-reporting'/>
|
||||
<version>5001000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100242</microcodeVersion>
|
||||
|
@ -243,6 +243,7 @@
|
||||
<flag name='numa.hmat'/>
|
||||
<flag name='blockdev-hostdev-scsi'/>
|
||||
<flag name='usb-host.hostdevice'/>
|
||||
<flag name='virtio-balloon.free-page-reporting'/>
|
||||
<version>5001050</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100243</microcodeVersion>
|
||||
|
Loading…
x
Reference in New Issue
Block a user