diff options
author | Michael S. Tsirkin | 2010-03-17 12:08:38 +0100 |
---|---|---|
committer | Anthony Liguori | 2010-04-01 20:56:43 +0200 |
commit | b202554cf791f7182eccd70c7685827abded3907 (patch) | |
tree | 30c27dbd0c2e3baa18f320080caef2abbae0aa79 /net/tap.h | |
parent | tap: add vhost/vhostfd options (diff) | |
download | qemu-b202554cf791f7182eccd70c7685827abded3907.tar.gz qemu-b202554cf791f7182eccd70c7685827abded3907.tar.xz qemu-b202554cf791f7182eccd70c7685827abded3907.zip |
tap: add API to retrieve vhost net header
will be used by virtio-net for vhost net support
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'net/tap.h')
-rw-r--r-- | net/tap.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -50,4 +50,7 @@ void tap_fd_set_offload(int fd, int csum, int tso4, int tso6, int ecn, int ufo); int tap_get_fd(VLANClientState *vc); +struct vhost_net; +struct vhost_net *tap_get_vhost_net(VLANClientState *vc); + #endif /* QEMU_NET_TAP_H */ |