aboutsummaryrefslogtreecommitdiff
path: root/net/tap-aix.c
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2009-10-22 17:49:13 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-30 08:39:28 -0500
commit15ac913bfe10abe142334a8b432c1f4c410fb04b (patch)
treea273c3b9b4f6cf5671c6e2980337b9feae979058 /net/tap-aix.c
parentc28b1c1007883baea05bff4bc7b20d354c4b47a1 (diff)
downloadqemu-15ac913bfe10abe142334a8b432c1f4c410fb04b.zip
qemu-15ac913bfe10abe142334a8b432c1f4c410fb04b.tar.gz
qemu-15ac913bfe10abe142334a8b432c1f4c410fb04b.tar.bz2
net: move tap_set_sndbuf() to tap-linux.c
TUNSETSNDBUF is only available on linux Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'net/tap-aix.c')
-rw-r--r--net/tap-aix.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/tap-aix.c b/net/tap-aix.c
index 5ec3b2c..3f9ccdd 100644
--- a/net/tap-aix.c
+++ b/net/tap-aix.c
@@ -30,3 +30,9 @@ int tap_open(char *ifname, int ifname_size, int *vnet_hdr, int vnet_hdr_required
fprintf(stderr, "no tap on AIX\n");
return -1;
}
+
+int tap_set_sndbuf(int fd, QemuOpts *opts)
+{
+ return 0;
+}
+