mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
vfio: register container for cpr
Define entry points to perform per-container cpr-specific initialization and teardown. Signed-off-by: Steve Sistare <steven.sistare@oracle.com> Reviewed-by: Cédric Le Goater <clg@redhat.com>
This commit is contained in:
parent
cbccded4a2
commit
d9fa4223b3
5 changed files with 39 additions and 1 deletions
19
hw/vfio/cpr.c
Normal file
19
hw/vfio/cpr.c
Normal file
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* Copyright (c) 2021-2024 Oracle and/or its affiliates.
|
||||
*
|
||||
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
||||
* See the COPYING file in the top-level directory.
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "hw/vfio/vfio-common.h"
|
||||
#include "qapi/error.h"
|
||||
|
||||
int vfio_cpr_register_container(VFIOContainerBase *bcontainer, Error **errp)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void vfio_cpr_unregister_container(VFIOContainerBase *bcontainer)
|
||||
{
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue