Revision 5430a28f hw/vhost_net.h
b/hw/vhost_net.h | ||
---|---|---|
6 | 6 |
struct vhost_net; |
7 | 7 |
typedef struct vhost_net VHostNetState; |
8 | 8 |
|
9 |
VHostNetState *vhost_net_init(VLANClientState *backend, int devfd); |
|
9 |
VHostNetState *vhost_net_init(VLANClientState *backend, int devfd, bool force);
|
|
10 | 10 |
|
11 |
bool vhost_net_query(VHostNetState *net, VirtIODevice *dev); |
|
11 | 12 |
int vhost_net_start(VHostNetState *net, VirtIODevice *dev); |
12 | 13 |
void vhost_net_stop(VHostNetState *net, VirtIODevice *dev); |
13 | 14 |
|
Also available in: Unified diff