mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00

Gather all CPR related declarations into "vfio-cpr.h" to reduce exposure
of VFIO internals in "hw/vfio/vfio-common.h". These were introduced in
commit d9fa4223b3
("vfio: register container for cpr").
Order file list in meson.build while at it.
Cc: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Steve Sistare <steven.sistare@oracle.com>
Link: https://lore.kernel.org/qemu-devel/20250326075122.1299361-22-clg@redhat.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
15 lines
342 B
C
15 lines
342 B
C
/*
|
|
* VFIO CPR
|
|
*
|
|
* Copyright (c) 2025 Oracle and/or its affiliates.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#ifndef HW_VFIO_CPR_H
|
|
#define HW_VFIO_CPR_H
|
|
|
|
bool vfio_cpr_register_container(VFIOContainerBase *bcontainer, Error **errp);
|
|
void vfio_cpr_unregister_container(VFIOContainerBase *bcontainer);
|
|
|
|
#endif /* HW_VFIO_CPR_H */
|