summaryrefslogtreecommitdiffstats
path: root/blockdev-nbd.c
diff options
context:
space:
mode:
authorMarc-André Lureau2017-11-06 19:39:00 +0100
committerStefan Berger2017-12-15 05:39:13 +0100
commit8a89c9ac15981c2d15ce4ee6d6ad67da58824a04 (patch)
tree0934508cd312e375675a7977026be1d77dc346d3 /blockdev-nbd.c
parenttpm: move TpmIf in include/sysemu/tpm.h (diff)
downloadqemu-8a89c9ac15981c2d15ce4ee6d6ad67da58824a04.tar.gz
qemu-8a89c9ac15981c2d15ce4ee6d6ad67da58824a04.tar.xz
qemu-8a89c9ac15981c2d15ce4ee6d6ad67da58824a04.zip
tpm-backend: store TPMIf interface, improve backend_init()
Store the TPM interface, the actual object may be different from TPMState. Keep a reference on the interface, and check the backend wasn't already initialized. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Diffstat (limited to 'blockdev-nbd.c')
0 files changed, 0 insertions, 0 deletions