| 1 | #ifndef VFIO_USER_DEVICE_H |
| 2 | #define VFIO_USER_DEVICE_H |
| 3 | |
| 4 | /* |
| 5 | * vfio protocol over a UNIX socket device handling. |
| 6 | * |
| 7 | * Copyright © 2018, 2021 Oracle and/or its affiliates. |
| 8 | * |
| 9 | * SPDX-License-Identifier: GPL-2.0-or-later |
| 10 | */ |
| 11 | |
| 12 | #include "linux/vfio.h" |
| 13 | |
| 14 | #include "hw/vfio-user/proxy.h" |
| 15 | |
| 16 | bool vfio_user_get_device_info(VFIOUserProxy *proxy, |
| 17 | struct vfio_device_info *info, Error **errp); |
| 18 | |
| 19 | void vfio_user_device_reset(VFIOUserProxy *proxy); |
| 20 | |
| 21 | extern VFIODeviceIOOps vfio_user_device_io_ops_sock; |
| 22 | |
| 23 | #endif /* VFIO_USER_DEVICE_H */ |