aboutsummaryrefslogtreecommitdiff
path: root/include/hw/virtio/vhost-user.h
blob: eb8bc0d90d5c659478bbba8a75d7c2e3516ba549 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * Copyright (c) 2017-2018 Intel Corporation
 *
 * This work is licensed under the terms of the GNU GPL, version 2.
 * See the COPYING file in the top-level directory.
 */

#ifndef HW_VIRTIO_VHOST_USER_H
#define HW_VIRTIO_VHOST_USER_H

#include "chardev/char-fe.h"

typedef struct VhostUserState {
    CharBackend *chr;
} VhostUserState;

VhostUserState *vhost_user_init(void);
void vhost_user_cleanup(VhostUserState *user);

#endif