qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH v3 26/26] hw/arm/virt: Add measurement log for confidenti


From: Philippe Mathieu-Daudé
Subject: Re: [RFC PATCH v3 26/26] hw/arm/virt: Add measurement log for confidential boot
Date: Thu, 5 Dec 2024 23:23:09 +0100
User-agent: Mozilla Thunderbird

On 25/11/24 20:56, Jean-Philippe Brucker wrote:
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;

One expects a stop/end after "start", maybe 'log_paddr'?

+    size_t log_size;
  };



reply via email to

[Prev in Thread] Current Thread [Next in Thread]