target/i386: introduce x86-confidential-guest
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 18 Mar 2024 15:07:43 +0000 (11:07 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 23 Apr 2024 15:35:25 +0000 (17:35 +0200)
commitd82e9c843d662f13821026618aba936eda31a6c0
tree7a5cffe35b2bff5fab3723269de24367d5039c51
parenta99c0c66ebe7d8db3af6f16689ade9375247e43e
target/i386: introduce x86-confidential-guest

Introduce a common superclass for x86 confidential guest implementations.
It will extend ConfidentialGuestSupportClass with a method that provides
the VM type to be passed to KVM_CREATE_VM.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/confidential-guest.c [new file with mode: 0644]
target/i386/confidential-guest.h [new file with mode: 0644]
target/i386/meson.build
target/i386/sev.c