mirror of
https://github.com/qemu/qemu.git
synced 2026-02-04 02:24:51 +00:00
This commit was created with scripts/clean-includes: ./scripts/clean-includes --git vfio hw/vfio hw/vfio-user All .c should include qemu/osdep.h first. The script performs three related cleanups: * Ensure .c files include qemu/osdep.h first. * Including it in a .h is redundant, since the .c already includes it. Drop such inclusions. * Likewise, including headers qemu/osdep.h includes is redundant. Drop these, too. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-id: 20251104160943.751997-9-peter.maydell@linaro.org
24 lines
551 B
C
24 lines
551 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 "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 */
|