aboutsummaryrefslogtreecommitdiff
path: root/include/hw/ppc
diff options
context:
space:
mode:
authorXiaoyao Li <xiaoyao.li@intel.com>2024-02-29 01:00:37 -0500
committerPaolo Bonzini <pbonzini@redhat.com>2024-04-23 17:35:25 +0200
commit00a238b1a845fd5f0acd771664c5e184a63ed9b6 (patch)
tree3d8aae2ce740699c99e56617d949cd7283d9840c /include/hw/ppc
parent637c95b37b106c2eeba313e0abb38ec12e918a59 (diff)
downloadqemu-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/hw/ppc')
-rw-r--r--include/hw/ppc/pef.h17
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 */