diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-03-19 15:30:25 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-04-23 17:35:25 +0200 |
commit | 663e2f443e5722370708ce2f4c27d94a2087d2d3 (patch) | |
tree | 6e96d1e1ba7291f2cc48383d367c3b60d7720212 /scripts/python_qmp_updater.py | |
parent | ee88612df1e8d6c2bfec75bff3f9482ea44acec1 (diff) | |
download | qemu-663e2f443e5722370708ce2f4c27d94a2087d2d3.zip qemu-663e2f443e5722370708ce2f4c27d94a2087d2d3.tar.gz qemu-663e2f443e5722370708ce2f4c27d94a2087d2d3.tar.bz2 |
target/i386: SEV: use KVM_SEV_INIT2 if possible
Implement support for the KVM_X86_SEV_VM and KVM_X86_SEV_ES_VM virtual
machine types, and the KVM_SEV_INIT2 function of KVM_MEMORY_ENCRYPT_OP.
These replace the KVM_SEV_INIT and KVM_SEV_ES_INIT functions, and have
several advantages:
- sharing the initialization sequence with SEV-SNP and TDX
- allowing arguments including the set of desired VMSA features
- protection against invalid use of KVM_GET/SET_* ioctls for guests
with encrypted state
If the KVM_X86_SEV_VM and KVM_X86_SEV_ES_VM types are not supported,
fall back to KVM_SEV_INIT and KVM_SEV_ES_INIT (which use the
default x86 VM type).
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/python_qmp_updater.py')
0 files changed, 0 insertions, 0 deletions