[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v12 09/28] qmp: add query-sev command
From: |
Daniel P . Berrangé |
Subject: |
Re: [Qemu-devel] [PATCH v12 09/28] qmp: add query-sev command |
Date: |
Thu, 8 Mar 2018 16:52:20 +0000 |
User-agent: |
Mutt/1.9.2 (2017-12-15) |
On Thu, Mar 08, 2018 at 06:48:42AM -0600, Brijesh Singh wrote:
> The QMP query command can used to retrieve the SEV information when
> memory encryption is enabled on AMD platform.
>
> Cc: Eric Blake <address@hidden>
> Cc: "Daniel P. Berrangé" <address@hidden>
> Cc: "Dr. David Alan Gilbert" <address@hidden>
> Cc: Markus Armbruster <address@hidden>
> Reviewed-by: Eric Blake <address@hidden>
> Signed-off-by: Brijesh Singh <address@hidden>
> ---
> monitor.c | 7 +++++
> qapi/misc.json | 76
> +++++++++++++++++++++++++++++++++++++++++++++++++++
> target/i386/monitor.c | 8 ++++++
> 3 files changed, 91 insertions(+)
> diff --git a/qapi/misc.json b/qapi/misc.json
> index bd04469a4ba2..14681729f8fc 100644
> --- a/qapi/misc.json
> +++ b/qapi/misc.json
> @@ -3201,3 +3201,79 @@
> # Since: 2.9
> ##
> { 'command': 'query-vm-generation-id', 'returns': 'GuidInfo' }
> +
> +
> +##
> +# @SevState:
> +#
> +# An enumeration of SEV state information used during @query-sev.
> +#
> +# @uninit: The guest is uninitialized.
> +#
> +# @lupdate: The guest is currently being launched and plaintext and
> +# reigster state is being imported.
Typo s/reigster/register/
> +#
> +# @lsecret: The guest is currently being launched and ciphertext data
> +# are being imported.
> +#
> +# @running: The guest is fully launched or migrated in.
> +#
> +# @supdate: The guest is currently being migrated out to another machine.
> +#
> +# @rupdate: The guest is currently being migrated from another machine.
> +#
> +# Since: 2.12
> +##
> +{ 'enum': 'SevState',
> + 'data': ['uninit', 'lupdate', 'lsecret', 'running', 'supdate', 'rupdate' ]
> }
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- [Qemu-devel] [PATCH v12 04/28] monitor/i386: use debug APIs when accessing guest memory, (continued)
- [Qemu-devel] [PATCH v12 04/28] monitor/i386: use debug APIs when accessing guest memory, Brijesh Singh, 2018/03/08
- [Qemu-devel] [PATCH v12 05/28] machine: add -memory-encryption property, Brijesh Singh, 2018/03/08
- [Qemu-devel] [PATCH v12 06/28] kvm: update kvm.h to include memory encryption ioctls, Brijesh Singh, 2018/03/08
- [Qemu-devel] [PATCH v12 07/28] docs: add AMD Secure Encrypted Virtualization (SEV), Brijesh Singh, 2018/03/08
- [Qemu-devel] [PATCH v12 08/28] target/i386: add Secure Encrypted Virtulization (SEV) object, Brijesh Singh, 2018/03/08
- [Qemu-devel] [PATCH v12 09/28] qmp: add query-sev command, Brijesh Singh, 2018/03/08
- Re: [Qemu-devel] [PATCH v12 09/28] qmp: add query-sev command,
Daniel P . Berrangé <=
- [Qemu-devel] [PATCH v12 10/28] include: add psp-sev.h header file, Brijesh Singh, 2018/03/08
[Qemu-devel] [PATCH v12 12/28] sev/i386: register the guest memory range which may contain encrypted data, Brijesh Singh, 2018/03/08
[Qemu-devel] [PATCH v12 11/28] sev/i386: add command to initialize the memory encryption context, Brijesh Singh, 2018/03/08
[Qemu-devel] [PATCH v12 13/28] kvm: introduce memory encryption APIs, Brijesh Singh, 2018/03/08
[Qemu-devel] [PATCH v12 14/28] hmp: add 'info sev' command, Brijesh Singh, 2018/03/08
[Qemu-devel] [PATCH v12 15/28] sev/i386: add command to create launch memory encryption context, Brijesh Singh, 2018/03/08