mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-08 16:54:49 +00:00
qemu_capabilities: Introduce QEMU_CAPS_OBJECT_RNG_BUILTIN
It is used to check if qemu is capable of rng-builtin object. This object is added since qemu-4.2.0-rc0, commit 6c4e9d48. Signed-off-by: Han Han <hhan@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
c76009313f
commit
9378713f56
@ -557,6 +557,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
|
||||
|
||||
/* 350 */
|
||||
"i8042",
|
||||
"rng-builtin",
|
||||
);
|
||||
|
||||
|
||||
@ -1272,6 +1273,7 @@ struct virQEMUCapsStringFlags virQEMUCapsObjectTypes[] = {
|
||||
{ "ramfb", QEMU_CAPS_DEVICE_RAMFB },
|
||||
{ "max-arm-cpu", QEMU_CAPS_ARM_MAX_CPU },
|
||||
{ "i8042", QEMU_CAPS_DEVICE_I8042 },
|
||||
{ "rng-builtin", QEMU_CAPS_OBJECT_RNG_BUILTIN },
|
||||
};
|
||||
|
||||
static struct virQEMUCapsStringFlags virQEMUCapsDevicePropsVirtioBalloon[] = {
|
||||
|
@ -538,6 +538,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
||||
|
||||
/* 350 */
|
||||
QEMU_CAPS_DEVICE_I8042, /* PS/2 controller */
|
||||
QEMU_CAPS_OBJECT_RNG_BUILTIN, /* -object rng-builtin */
|
||||
|
||||
QEMU_CAPS_LAST /* this must always be the last item */
|
||||
} virQEMUCapsFlags;
|
||||
|
@ -176,6 +176,7 @@
|
||||
<flag name='savevm-monitor-nodes'/>
|
||||
<flag name='drive-nvme'/>
|
||||
<flag name='smp-dies'/>
|
||||
<flag name='rng-builtin'/>
|
||||
<version>4001050</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>61700242</microcodeVersion>
|
||||
|
@ -178,6 +178,7 @@
|
||||
<flag name='drive-nvme'/>
|
||||
<flag name='smp-dies'/>
|
||||
<flag name='i8042'/>
|
||||
<flag name='rng-builtin'/>
|
||||
<version>4001050</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>42900242</microcodeVersion>
|
||||
|
@ -136,6 +136,7 @@
|
||||
<flag name='blockdev-file-dynamic-auto-read-only'/>
|
||||
<flag name='drive-nvme'/>
|
||||
<flag name='smp-dies'/>
|
||||
<flag name='rng-builtin'/>
|
||||
<version>4001050</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>39100242</microcodeVersion>
|
||||
|
@ -220,6 +220,7 @@
|
||||
<flag name='drive-nvme'/>
|
||||
<flag name='smp-dies'/>
|
||||
<flag name='i8042'/>
|
||||
<flag name='rng-builtin'/>
|
||||
<version>4002000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>43100242</microcodeVersion>
|
||||
|
Loading…
Reference in New Issue
Block a user