[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v6 17/23] qapi: add SEV_MEASUREMENT event
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH v6 17/23] qapi: add SEV_MEASUREMENT event |
Date: |
Wed, 31 Jan 2018 18:45:01 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Brijesh Singh <address@hidden> writes:
> Add SEV_MEASUREMENT event which can be used by libvirt to get the
> measurement of the memory regions encrypted through the SEV launch
> flow. The measurement value is base64 encoded.
>
> Cc: Daniel P. Berrange <address@hidden>
> Cc: Eric Blake <address@hidden>
> Cc: Markus Armbruster <address@hidden>
> Signed-off-by: Brijesh Singh <address@hidden>
> ---
> qapi-schema.json | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/qapi-schema.json b/qapi-schema.json
> index 2046c96669bf..e1f5d14e2e3f 100644
> --- a/qapi-schema.json
> +++ b/qapi-schema.json
> @@ -3192,3 +3192,16 @@
> # Since: 2.11
> ##
> { 'command': 'watchdog-set-action', 'data' : {'action': 'WatchdogAction'} }
> +
> +##
> +# @SEV_MEASUREMENT:
> +#
> +# Emitted when measurement is available for the SEV guest.
> +#
> +# @value: measurement value encoded in base64
> +#
> +# Since: 2.12
> +#
> +##
> +{ 'event' : 'SEV_MEASUREMENT',
> + 'data' : { 'value' : 'str' } }
New event -> automatic question: do we need a way to poll for this
information? Say when an event could get lost during a libvirt restart.
- [Qemu-devel] [PATCH v6 13/23] hmp: display memory encryption support in 'info kvm', (continued)
- [Qemu-devel] [PATCH v6 13/23] hmp: display memory encryption support in 'info kvm', Brijesh Singh, 2018/01/29
- [Qemu-devel] [PATCH v6 12/23] kvm: introduce memory encryption APIs, Brijesh Singh, 2018/01/29
- [Qemu-devel] [PATCH v6 15/23] sev: add command to encrypt guest memory region, Brijesh Singh, 2018/01/29
- [Qemu-devel] [PATCH v6 14/23] sev: add command to create launch memory encryption context, Brijesh Singh, 2018/01/29
- [Qemu-devel] [PATCH v6 10/23] sev: add command to initialize the memory encryption context, Brijesh Singh, 2018/01/29
- [Qemu-devel] [PATCH v6 18/23] sev: emit the SEV_MEASUREMENT event, Brijesh Singh, 2018/01/29
- [Qemu-devel] [PATCH v6 17/23] qapi: add SEV_MEASUREMENT event, Brijesh Singh, 2018/01/29
- Re: [Qemu-devel] [PATCH v6 17/23] qapi: add SEV_MEASUREMENT event,
Markus Armbruster <=
- [Qemu-devel] [PATCH v6 16/23] target/i386: encrypt bios rom, Brijesh Singh, 2018/01/29
- [Qemu-devel] [PATCH v6 20/23] hw: i386: set ram_debug_ops when memory encryption is enabled, Brijesh Singh, 2018/01/29
- [Qemu-devel] [PATCH v6 19/23] sev: Finalize the SEV guest launch flow, Brijesh Singh, 2018/01/29
- [Qemu-devel] [PATCH v6 21/23] sev: add debug encrypt and decrypt commands, Brijesh Singh, 2018/01/29
- [Qemu-devel] [PATCH v6 23/23] sev: add migration blocker, Brijesh Singh, 2018/01/29
- [Qemu-devel] [PATCH v6 22/23] target/i386: clear C-bit when walking SEV guest page table, Brijesh Singh, 2018/01/29
- Re: [Qemu-devel] [PATCH v6 00/23] x86: Secure Encrypted Virtualization (AMD), no-reply, 2018/01/29
- Re: [Qemu-devel] [PATCH v6 00/23] x86: Secure Encrypted Virtualization (AMD), no-reply, 2018/01/29
- Re: [Qemu-devel] [PATCH v6 00/23] x86: Secure Encrypted Virtualization (AMD), no-reply, 2018/01/29
- Re: [Qemu-devel] [PATCH v6 00/23] x86: Secure Encrypted Virtualization (AMD), no-reply, 2018/01/29