[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 2/6] Categorize devices: TPM
From: |
Ernest Esene |
Subject: |
[Qemu-devel] [PATCH v2 2/6] Categorize devices: TPM |
Date: |
Wed, 27 Mar 2019 13:27:34 +0100 |
User-agent: |
Mutt/1.11.4 (2019-03-13) |
Set category and describe TPM device
Signed-off-by: Ernest Esene <address@hidden>
---
v2:
* split into separate patch
---
hw/tpm/tpm_tis.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hw/tpm/tpm_tis.c b/hw/tpm/tpm_tis.c
index fd183e8deb..36aaaa8242 100644
--- a/hw/tpm/tpm_tis.c
+++ b/hw/tpm/tpm_tis.c
@@ -1020,6 +1020,9 @@ static void tpm_tis_class_init(ObjectClass *klass, void
*data)
dc->props = tpm_tis_properties;
dc->reset = tpm_tis_reset;
dc->vmsd = &vmstate_tpm_tis;
+ set_bit(DEVICE_CATEGORY_MISC, dc->categories);
+ dc->desc = "Trusted Platform Module (TPM) TIS Interface";
+
tc->model = TPM_MODEL_TPM_TIS;
tc->get_version = tpm_tis_get_tpm_version;
tc->request_completed = tpm_tis_request_completed;
--
2.14.2
signature.asc
Description: PGP signature
- [Qemu-devel] [PATCH v2 2/6] Categorize devices: TPM,
Ernest Esene <=