mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
vfio: move vfio-cpr.h
Move vfio-cpr.h to include/hw/vfio, because it will need to be included by other files there. Signed-off-by: Steve Sistare <steven.sistare@oracle.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Zhenzhong Duan <zhenzhong.duan@intel.com> Link: https://lore.kernel.org/qemu-devel/1748546679-154091-9-git-send-email-steven.sistare@oracle.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
This commit is contained in:
parent
2372f8d94a
commit
3ed34463a2
6 changed files with 22 additions and 18 deletions
18
include/hw/vfio/vfio-cpr.h
Normal file
18
include/hw/vfio/vfio-cpr.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* VFIO CPR
|
||||
*
|
||||
* Copyright (c) 2025 Oracle and/or its affiliates.
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
|
||||
#ifndef HW_VFIO_VFIO_CPR_H
|
||||
#define HW_VFIO_VFIO_CPR_H
|
||||
|
||||
struct VFIOContainerBase;
|
||||
|
||||
bool vfio_cpr_register_container(struct VFIOContainerBase *bcontainer,
|
||||
Error **errp);
|
||||
void vfio_cpr_unregister_container(struct VFIOContainerBase *bcontainer);
|
||||
|
||||
#endif /* HW_VFIO_VFIO_CPR_H */
|
Loading…
Add table
Add a link
Reference in a new issue