mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
637c95b37b
commit
00a238b1a8
3 changed files with 13 additions and 23 deletions
|
@ -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 */
|
Loading…
Add table
Add a link
Reference in a new issue