diff options
author | malc <malc@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-18 01:42:22 +0000 |
---|---|---|
committer | malc <malc@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-11-18 01:42:22 +0000 |
commit | b29fe3ed48c72e6a30a29c7fbdf3b841c59551c5 (patch) | |
tree | 9e7d103d523da09947398564fae5f90c9297121e /net.c | |
parent | 14f87098c07c33cc46fb7510be739e63c3a9be07 (diff) | |
download | qemu-b29fe3ed48c72e6a30a29c7fbdf3b841c59551c5.zip |
Preliminary AIX support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5732 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'net.c')
-rw-r--r-- | net.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -780,6 +780,12 @@ static int tap_open(char *ifname, int ifname_size) fcntl(fd, F_SETFL, O_NONBLOCK); return fd; } +#elif defined (_AIX) +static int tap_open(char *ifname, int ifname_size) +{ + fprintf (stderr, "no tap on AIX\n"); + return -1; +} #else static int tap_open(char *ifname, int ifname_size) { @@ -1441,6 +1447,7 @@ int net_client_init(const char *device, const char *p) vlan->nb_host_devs++; ret = tap_win32_init(vlan, ifname); } else +#elif defined (_AIX) #else if (!strcmp(device, "tap")) { char ifname[64]; |