machine: add memory-encryption option
commitdb5881949f33b76c8818010acd79d31e29473514
authorBrijesh Singh <brijesh.singh@amd.com>
Thu, 8 Mar 2018 12:48:38 +0000 (8 06:48 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 13 Mar 2018 11:04:03 +0000 (13 12:04 +0100)
treed4d7be249bc2b34701af23e63dfc14e5474350ea
parente13713db5b609d9a83c9cfc8ba389d4215d4ba29
machine: add memory-encryption option

When CPU supports memory encryption feature, the property can be used to
specify the encryption object to use when launching an encrypted guest.

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Cc: Marcel Apfelbaum <marcel@redhat.com>
Cc: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/core/machine.c
include/hw/boards.h
qemu-options.hx