13bdb738bSJohn Levon #ifndef VFIO_USER_DEVICE_H 23bdb738bSJohn Levon #define VFIO_USER_DEVICE_H 33bdb738bSJohn Levon 43bdb738bSJohn Levon /* 53bdb738bSJohn Levon * vfio protocol over a UNIX socket device handling. 63bdb738bSJohn Levon * 73bdb738bSJohn Levon * Copyright © 2018, 2021 Oracle and/or its affiliates. 83bdb738bSJohn Levon * 93bdb738bSJohn Levon * SPDX-License-Identifier: GPL-2.0-or-later 103bdb738bSJohn Levon */ 113bdb738bSJohn Levon 123bdb738bSJohn Levon #include "qemu/osdep.h" 133bdb738bSJohn Levon #include "linux/vfio.h" 143bdb738bSJohn Levon 153bdb738bSJohn Levon #include "hw/vfio-user/proxy.h" 163bdb738bSJohn Levon 173bdb738bSJohn Levon bool vfio_user_get_device_info(VFIOUserProxy *proxy, 183bdb738bSJohn Levon struct vfio_device_info *info, Error **errp); 193bdb738bSJohn Levon 20*01923235SJohn Levon void vfio_user_device_reset(VFIOUserProxy *proxy); 21*01923235SJohn Levon 22667866d6SJohn Levon extern VFIODeviceIOOps vfio_user_device_io_ops_sock; 23667866d6SJohn Levon 243bdb738bSJohn Levon #endif /* VFIO_USER_DEVICE_H */ 25