xref: /qemu/hw/vfio-user/device.h (revision 3bdb738b734c77f93f93f8119c8f6ba8a9c5947c)
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 "qemu/osdep.h"
13 #include "linux/vfio.h"
14 
15 #include "hw/vfio-user/proxy.h"
16 
17 bool vfio_user_get_device_info(VFIOUserProxy *proxy,
18                                struct vfio_device_info *info, Error **errp);
19 
20 #endif /* VFIO_USER_DEVICE_H */
21