mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-09 01:18:00 +03:00
qemu: Extend QEMU capabilities with 'tpm-emulator'
Extend the QEMU capabilities with tpm-emulator support. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Reviewed-by: John Ferlan <jferlan@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
33af0b2b7c
commit
b50edcd894
@ -494,6 +494,7 @@ VIR_ENUM_IMPL(virQEMUCaps, QEMU_CAPS_LAST,
|
||||
/* 305 */
|
||||
"vhost-vsock",
|
||||
"chardev-fd-pass",
|
||||
"tpm-emulator",
|
||||
);
|
||||
|
||||
|
||||
@ -2452,6 +2453,10 @@ static const struct tpmTypeToCaps virQEMUCapsTPMTypesToCaps[] = {
|
||||
.type = VIR_DOMAIN_TPM_TYPE_PASSTHROUGH,
|
||||
.caps = QEMU_CAPS_DEVICE_TPM_PASSTHROUGH,
|
||||
},
|
||||
{
|
||||
.type = VIR_DOMAIN_TPM_TYPE_EMULATOR,
|
||||
.caps = QEMU_CAPS_DEVICE_TPM_EMULATOR,
|
||||
},
|
||||
};
|
||||
|
||||
const struct tpmTypeToCaps virQEMUCapsTPMModelsToCaps[] = {
|
||||
|
@ -478,6 +478,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
|
||||
/* 305 */
|
||||
QEMU_CAPS_DEVICE_VHOST_VSOCK, /* -device vhost-vsock-* */
|
||||
QEMU_CAPS_CHARDEV_FD_PASS, /* Passing pre-opened FDs for chardevs */
|
||||
QEMU_CAPS_DEVICE_TPM_EMULATOR, /* -tpmdev emulator */
|
||||
|
||||
QEMU_CAPS_LAST /* this must always be the last item */
|
||||
} virQEMUCapsFlags;
|
||||
|
@ -125,6 +125,7 @@
|
||||
<flag name='sdl-gl'/>
|
||||
<flag name='blockdev-del'/>
|
||||
<flag name='vhost-vsock'/>
|
||||
<flag name='tpm-emulator'/>
|
||||
<version>2011000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>342166</microcodeVersion>
|
||||
|
@ -168,6 +168,7 @@
|
||||
<flag name='blockdev-del'/>
|
||||
<flag name='vhost-vsock'/>
|
||||
<flag name='chardev-fd-pass'/>
|
||||
<flag name='tpm-emulator'/>
|
||||
<version>2011090</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>343099</microcodeVersion>
|
||||
|
@ -165,6 +165,7 @@
|
||||
<flag name='blockdev-del'/>
|
||||
<flag name='vhost-vsock'/>
|
||||
<flag name='chardev-fd-pass'/>
|
||||
<flag name='tpm-emulator'/>
|
||||
<version>2011090</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>419968</microcodeVersion>
|
||||
|
@ -132,6 +132,7 @@
|
||||
<flag name='blockdev-del'/>
|
||||
<flag name='vhost-vsock'/>
|
||||
<flag name='chardev-fd-pass'/>
|
||||
<flag name='tpm-emulator'/>
|
||||
<version>2012000</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>371055</microcodeVersion>
|
||||
|
@ -207,6 +207,7 @@
|
||||
<flag name='vmgenid'/>
|
||||
<flag name='vhost-vsock'/>
|
||||
<flag name='chardev-fd-pass'/>
|
||||
<flag name='tpm-emulator'/>
|
||||
<version>2011090</version>
|
||||
<kvmVersion>0</kvmVersion>
|
||||
<microcodeVersion>390813</microcodeVersion>
|
||||
|
Loading…
Reference in New Issue
Block a user