]> git.proxmox.com Git - qemu.git/blame - hw/vhost_net.h
Merge remote-tracking branch 'spice/spice.v39' into staging
[qemu.git] / hw / vhost_net.h
CommitLineData
d5970055
MT
1#ifndef VHOST_NET_H
2#define VHOST_NET_H
3
4#include "net.h"
5
6struct vhost_net;
7typedef struct vhost_net VHostNetState;
8
5430a28f 9VHostNetState *vhost_net_init(VLANClientState *backend, int devfd, bool force);
d5970055 10
5430a28f 11bool vhost_net_query(VHostNetState *net, VirtIODevice *dev);
d5970055
MT
12int vhost_net_start(VHostNetState *net, VirtIODevice *dev);
13void vhost_net_stop(VHostNetState *net, VirtIODevice *dev);
14
15void vhost_net_cleanup(VHostNetState *net);
16
17unsigned vhost_net_get_features(VHostNetState *net, unsigned features);
18void vhost_net_ack_features(VHostNetState *net, unsigned features);
19
20#endif