diff options
author | 2024-02-29 01:00:35 -0500 | |
---|---|---|
committer | 2024-04-23 17:35:25 +0200 | |
commit | 41a605944e3fecae43ca18ded95ec31f28e0c7fe (patch) | |
tree | dbc422c2f13ecbb834b25b32f1864bd514c4697e /linux-headers/linux/bits.h | |
parent | hw/i386/acpi: Set PCAT_COMPAT bit only when pic is not disabled (diff) | |
download | qemu-41a605944e3fecae43ca18ded95ec31f28e0c7fe.tar.xz qemu-41a605944e3fecae43ca18ded95ec31f28e0c7fe.zip |
confidential guest support: Add kvm_init() and kvm_reset() in class
Different confidential VMs in different architectures all have the same
needs to do their specific initialization (and maybe resetting) stuffs
with KVM. Currently each of them exposes individual *_kvm_init()
functions and let machine code or kvm code to call it.
To facilitate the introduction of confidential guest technology from
different x86 vendors, add two virtual functions, kvm_init() and kvm_reset()
in ConfidentialGuestSupportClass, and expose two helpers functions for
invodking them.
Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Message-Id: <20240229060038.606591-1-xiaoyao.li@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linux-headers/linux/bits.h')
0 files changed, 0 insertions, 0 deletions