From bb71623811686ce3c34ce724f073f5c5dd95f51b Mon Sep 17 00:00:00 2001 From: Stefan Berger Date: Mon, 22 Apr 2013 10:41:39 -0400 Subject: Move TPM passthrough specific command line options to backend structure Move the TPM passthrough specific command line options to the passthrough backend implementation and attach them to the backend's interface structure. Add code to tpm.c for validating the TPM command line options. Signed-off-by: Stefan Berger Reviewed-by: Corey Bryan Message-id: 1366641699-21420-1-git-send-email-stefanb@linux.vnet.ibm.com Signed-off-by: Anthony Liguori --- include/sysemu/tpm_backend.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/sysemu/tpm_backend.h') diff --git a/include/sysemu/tpm_backend.h b/include/sysemu/tpm_backend.h index 466787453d..825f33bdc3 100644 --- a/include/sysemu/tpm_backend.h +++ b/include/sysemu/tpm_backend.h @@ -65,6 +65,7 @@ typedef struct TPMSizedBuffer { struct TPMDriverOps { enum TpmType type; + const QemuOptDesc *opts; /* get a descriptive text of the backend to display to the user */ const char *(*desc)(void); -- cgit v1.2.3