diff options
author | Xiaoyao Li <xiaoyao.li@intel.com> | 2024-02-29 01:00:37 -0500 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-04-23 17:35:25 +0200 |
commit | 00a238b1a845fd5f0acd771664c5e184a63ed9b6 (patch) | |
tree | 3d8aae2ce740699c99e56617d949cd7283d9840c /include | |
parent | 637c95b37b106c2eeba313e0abb38ec12e918a59 (diff) | |
download | qemu-00a238b1a845fd5f0acd771664c5e184a63ed9b6.zip qemu-00a238b1a845fd5f0acd771664c5e184a63ed9b6.tar.gz qemu-00a238b1a845fd5f0acd771664c5e184a63ed9b6.tar.bz2 |
ppc/pef: switch to use confidential_guest_kvm_init/reset()
Use the unified interface to call confidential guest related kvm_init()
and kvm_reset(), to avoid exposing pef specific functions.
As a bonus, pef.h goes away since there is no direct call from sPAPR
board code to PEF code anymore.
Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/ppc/pef.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/include/hw/ppc/pef.h b/include/hw/ppc/pef.h deleted file mode 100644 index 707dbe5..0000000 --- a/include/hw/ppc/pef.h +++ /dev/null @@ -1,17 +0,0 @@ -/* - * PEF (Protected Execution Facility) for POWER support - * - * Copyright Red Hat. - * - * This work is licensed under the terms of the GNU GPL, version 2 or later. - * See the COPYING file in the top-level directory. - * - */ - -#ifndef HW_PPC_PEF_H -#define HW_PPC_PEF_H - -int pef_kvm_init(ConfidentialGuestSupport *cgs, Error **errp); -int pef_kvm_reset(ConfidentialGuestSupport *cgs, Error **errp); - -#endif /* HW_PPC_PEF_H */ |