Create a measurement log describing operations performed by QEMU to
initialize the guest, and load it into guest memory above the DTB.
Cc: Stefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
---
v2->v3: New
---
include/hw/arm/boot.h | 3 +++
include/hw/arm/virt.h | 1 +
hw/arm/boot.c | 47 +++++++++++++++++++++++++++++++++++++++++++
hw/arm/virt.c | 23 +++++++++++++++++++++
4 files changed, 74 insertions(+)
diff --git a/include/hw/arm/boot.h b/include/hw/arm/boot.h
index 5fcbaa2625..f2518c4e81 100644
--- a/include/hw/arm/boot.h
+++ b/include/hw/arm/boot.h
@@ -147,6 +147,9 @@ struct arm_boot_info {
* Confidential guest boot loads everything into RAM so it can be
measured.
*/
bool confidential;
+ /* measurement log location in guest memory */
+ hwaddr log_start;