mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
qemu_capabilities: Introduce QEMU_CAPS_DEVICE_VIRTIO_PMEM_PCI
This commit introduces a new capability that reflects virtio-pmem-pci device support in qemu: QEMU_CAPS_DEVICE_VIRTIO_PMEM_PCI, /* -device virtio-pmem-pci */ The virtio-pmem-pci device was introduced in QEMU 4.1. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
parent
57b1ddcaaa
commit
f06c1d908f
@ -609,6 +609,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
|
||||
"ncr53c90",
|
||||
"dc390",
|
||||
"am53c974",
|
||||
"virtio-pmem-pci",
|
||||
);
|
||||
|
||||
|
||||
@ -1325,6 +1326,7 @@ struct virQEMUCapsStringFlags virQEMUCapsObjectTypes[] = {
|
||||
*/
|
||||
{ "dc390", QEMU_CAPS_SCSI_DC390 },
|
||||
{ "am53c974", QEMU_CAPS_SCSI_AM53C974 },
|
||||
{ "virtio-pmem-pci", QEMU_CAPS_DEVICE_VIRTIO_PMEM_PCI },
|
||||
};
|
||||
|
||||
|
||||
|
@ -589,6 +589,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
||||
QEMU_CAPS_SCSI_NCR53C90, /* built-in SCSI */
|
||||
QEMU_CAPS_SCSI_DC390, /* -device dc-390 */
|
||||
QEMU_CAPS_SCSI_AM53C974, /* -device am53c974 */
|
||||
QEMU_CAPS_DEVICE_VIRTIO_PMEM_PCI, /* -device virtio-pmem-pci */
|
||||
|
||||
QEMU_CAPS_LAST /* this must always be the last item */
|
||||
} virQEMUCapsFlags;
|
||||
|
@ -231,6 +231,7 @@
|
||||
<flag name='fsdev.createmode'/>
|
||||
<flag name='dc390'/>
|
||||
<flag name='am53c974'/>
|
||||
<flag name='virtio-pmem-pci'/>
|
||||
<version>4001000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100241</microcodeVersion>
|
||||
|
@ -240,6 +240,7 @@
|
||||
<flag name='fsdev.createmode'/>
|
||||
<flag name='dc390'/>
|
||||
<flag name='am53c974'/>
|
||||
<flag name='virtio-pmem-pci'/>
|
||||
<version>4002000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100242</microcodeVersion>
|
||||
|
@ -247,6 +247,7 @@
|
||||
<flag name='fsdev.createmode'/>
|
||||
<flag name='dc390'/>
|
||||
<flag name='am53c974'/>
|
||||
<flag name='virtio-pmem-pci'/>
|
||||
<version>5000000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100241</microcodeVersion>
|
||||
|
@ -249,6 +249,7 @@
|
||||
<flag name='fsdev.createmode'/>
|
||||
<flag name='dc390'/>
|
||||
<flag name='am53c974'/>
|
||||
<flag name='virtio-pmem-pci'/>
|
||||
<version>5001000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100242</microcodeVersion>
|
||||
|
@ -250,6 +250,7 @@
|
||||
<flag name='fsdev.createmode'/>
|
||||
<flag name='dc390'/>
|
||||
<flag name='am53c974'/>
|
||||
<flag name='virtio-pmem-pci'/>
|
||||
<version>5002000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100243</microcodeVersion>
|
||||
|
Loading…
x
Reference in New Issue
Block a user