]> git.proxmox.com Git - mirror_qemu.git/blob - include/hw/virtio/vhost-user.h
vhost-user: introduce shared vhost-user state
[mirror_qemu.git] / include / hw / virtio / vhost-user.h
1 /*
2 * Copyright (c) 2017-2018 Intel Corporation
3 *
4 * This work is licensed under the terms of the GNU GPL, version 2.
5 * See the COPYING file in the top-level directory.
6 */
7
8 #ifndef HW_VIRTIO_VHOST_USER_H
9 #define HW_VIRTIO_VHOST_USER_H
10
11 #include "chardev/char-fe.h"
12
13 typedef struct VhostUserState {
14 CharBackend *chr;
15 } VhostUserState;
16
17 VhostUserState *vhost_user_init(void);
18 void vhost_user_cleanup(VhostUserState *user);
19
20 #endif