]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Introduce VIR_DOMAIN_TPM_MODEL_DEFAULT as default model
authorStefan Berger <stefanb@linux.ibm.com>
Wed, 5 Feb 2020 18:35:45 +0000 (13:35 -0500)
committerJán Tomko <jtomko@redhat.com>
Wed, 5 Feb 2020 18:57:10 +0000 (19:57 +0100)
commit21b6f41d9574321f0199ae34197ec6eb9dd467ba
tree4ec349f41e6ff9929d94099da59fc1db1422984b
parent945648d36af6aaf0c9332f8623950a398e399305
conf: Introduce VIR_DOMAIN_TPM_MODEL_DEFAULT as default model

Introduce VIR_DOMAIN_TPM_MODEL_DEFAULT as a default model which we use
in case the user does not provide a model in the device XML. It has
the TIS's previous value of '0'. In the post parsing function
we change this default value to 'TIS' to have the same model as before.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
src/conf/domain_conf.c
src/conf/domain_conf.h
src/qemu/qemu_domain.c