mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06:00

Hook this call up to the legacy reset handler for vfio-user-pci. Originally-by: John Johnson <john.g.johnson@oracle.com> Signed-off-by: Elena Ufimtseva <elena.ufimtseva@oracle.com> Signed-off-by: Jagannathan Raman <jag.raman@oracle.com> Signed-off-by: John Levon <john.levon@nutanix.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Link: https://lore.kernel.org/qemu-devel/20250625193012.2316242-13-john.levon@nutanix.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
24 lines
575 B
C
24 lines
575 B
C
#ifndef VFIO_USER_DEVICE_H
|
|
#define VFIO_USER_DEVICE_H
|
|
|
|
/*
|
|
* vfio protocol over a UNIX socket device handling.
|
|
*
|
|
* Copyright © 2018, 2021 Oracle and/or its affiliates.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
#include "qemu/osdep.h"
|
|
#include "linux/vfio.h"
|
|
|
|
#include "hw/vfio-user/proxy.h"
|
|
|
|
bool vfio_user_get_device_info(VFIOUserProxy *proxy,
|
|
struct vfio_device_info *info, Error **errp);
|
|
|
|
void vfio_user_device_reset(VFIOUserProxy *proxy);
|
|
|
|
extern VFIODeviceIOOps vfio_user_device_io_ops_sock;
|
|
|
|
#endif /* VFIO_USER_DEVICE_H */
|