mirror of https://gitee.com/openkylin/libvirt.git
qemu: add ramfb capability
Add a qemu capbility to see if the standalone ramfb device is available. Reviewed-by: Cole Robinson <crobinso@redhat.com> Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
parent
f2fd684849
commit
9bfcf0f62d
|
@ -545,6 +545,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
|
|||
"incremental-backup",
|
||||
"query-cpu-model-baseline",
|
||||
"query-cpu-model-comparison",
|
||||
"ramfb",
|
||||
);
|
||||
|
||||
|
||||
|
@ -1140,6 +1141,7 @@ struct virQEMUCapsStringFlags virQEMUCapsObjectTypes[] = {
|
|||
{ "dbus-vmstate", QEMU_CAPS_DBUS_VMSTATE },
|
||||
{ "vhost-user-gpu", QEMU_CAPS_DEVICE_VHOST_USER_GPU },
|
||||
{ "vhost-user-vga", QEMU_CAPS_DEVICE_VHOST_USER_VGA },
|
||||
{ "ramfb", QEMU_CAPS_DEVICE_RAMFB },
|
||||
};
|
||||
|
||||
static struct virQEMUCapsStringFlags virQEMUCapsDevicePropsVirtioBalloon[] = {
|
||||
|
|
|
@ -526,6 +526,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
|||
QEMU_CAPS_INCREMENTAL_BACKUP, /* incremental backup is supported */
|
||||
QEMU_CAPS_QUERY_CPU_MODEL_BASELINE, /* qmp query-cpu-model-baseline */
|
||||
QEMU_CAPS_QUERY_CPU_MODEL_COMPARISON, /* qmp query-cpu-model-comparison */
|
||||
QEMU_CAPS_DEVICE_RAMFB, /* -device ramfb */
|
||||
|
||||
QEMU_CAPS_LAST /* this must always be the last item */
|
||||
} virQEMUCapsFlags;
|
||||
|
|
|
@ -152,6 +152,7 @@
|
|||
<flag name='iothread.poll-max-ns'/>
|
||||
<flag name='memory-backend-file.align'/>
|
||||
<flag name='bochs-display'/>
|
||||
<flag name='ramfb'/>
|
||||
<version>2012050</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>42900757</microcodeVersion>
|
||||
|
|
|
@ -92,6 +92,7 @@
|
|||
<flag name='memory-backend-memfd.hugetlb'/>
|
||||
<flag name='iothread.poll-max-ns'/>
|
||||
<flag name='memory-backend-file.align'/>
|
||||
<flag name='ramfb'/>
|
||||
<version>3000000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>0</microcodeVersion>
|
||||
|
|
|
@ -92,6 +92,7 @@
|
|||
<flag name='memory-backend-memfd.hugetlb'/>
|
||||
<flag name='iothread.poll-max-ns'/>
|
||||
<flag name='memory-backend-file.align'/>
|
||||
<flag name='ramfb'/>
|
||||
<version>3000000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>0</microcodeVersion>
|
||||
|
|
|
@ -125,6 +125,7 @@
|
|||
<flag name='memory-backend-file.align'/>
|
||||
<flag name='query-cpu-model-baseline'/>
|
||||
<flag name='query-cpu-model-comparison'/>
|
||||
<flag name='ramfb'/>
|
||||
<version>3000000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>39100757</microcodeVersion>
|
||||
|
|
|
@ -199,6 +199,7 @@
|
|||
<flag name='nvdimm.unarmed'/>
|
||||
<flag name='x86-max-cpu'/>
|
||||
<flag name='bochs-display'/>
|
||||
<flag name='ramfb'/>
|
||||
<version>3000000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100757</microcodeVersion>
|
||||
|
|
|
@ -202,6 +202,7 @@
|
|||
<flag name='overcommit'/>
|
||||
<flag name='x86-max-cpu'/>
|
||||
<flag name='bochs-display'/>
|
||||
<flag name='ramfb'/>
|
||||
<version>3000092</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100758</microcodeVersion>
|
||||
|
|
|
@ -165,6 +165,7 @@
|
|||
<flag name='nbd-bitmap'/>
|
||||
<flag name='bochs-display'/>
|
||||
<flag name='migration-file-drop-cache'/>
|
||||
<flag name='ramfb'/>
|
||||
<version>4000000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>61700758</microcodeVersion>
|
||||
|
|
|
@ -207,6 +207,7 @@
|
|||
<flag name='x86-max-cpu'/>
|
||||
<flag name='bochs-display'/>
|
||||
<flag name='migration-file-drop-cache'/>
|
||||
<flag name='ramfb'/>
|
||||
<version>4000000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100758</microcodeVersion>
|
||||
|
|
|
@ -211,6 +211,7 @@
|
|||
<flag name='migration-file-drop-cache'/>
|
||||
<flag name='vhost-user-gpu'/>
|
||||
<flag name='vhost-user-vga'/>
|
||||
<flag name='ramfb'/>
|
||||
<version>4001000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100759</microcodeVersion>
|
||||
|
|
|
@ -211,6 +211,7 @@
|
|||
<flag name='migration-file-drop-cache'/>
|
||||
<flag name='vhost-user-gpu'/>
|
||||
<flag name='vhost-user-vga'/>
|
||||
<flag name='ramfb'/>
|
||||
<version>4001050</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100760</microcodeVersion>
|
||||
|
|
Loading…
Reference in New Issue