qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Rick Vernam <rickv@hobi.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] multiple tun/tap instances no longer working
Date: Tue, 9 Jan 2007 10:57:18 -0600	[thread overview]
Message-ID: <200701091057.19777.rickv@hobi.com> (raw)

I recently built cvs, and found that I can no longer have multiple instances 
of qemu using tun/tap.

the invocation of qemu includes, for each instance:
-net nic -net tap,script=/etc/qemu-ifup

/etc/qemu-ifup:
#!/bin/sh
sudo /sbin/ifconfig $1 192.168.2.196
sudo brctl addif br0 $1

strace of qemu-system-x86_64:
...
open("/dev/net/tun", O_RDWR)            = 3
ioctl(3, TUNSETIFF, 0x7fffca661bf0)     = -1 EBUSY (Device or resource busy)
write(2, "warning: could not configure /de"..., 72warning: could not 
configure /dev/net/tun: no virtual network emulation
) = 72
close(3)                                = 0
write(2, "Could not initialize device \'tap"..., 34Could not initialize 
device 'tap'
) = 34
exit_group(1)                           = ?
Process 8206 detached


The only thing that has changed is building qemu from cvs yesterday.  Prior to 
that, I had been using cvs from a few weeks ago.

I'm not too familiar with qemu source, but I will start looking at some of the 
commits from the past few weeks for anything.

Any ideas?
Thanks.

             reply	other threads:[~2007-01-09 16:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-09 16:57 Rick Vernam [this message]
2007-01-09 17:57 ` [Qemu-devel] multiple tun/tap instances no longer working Rick Vernam
2007-01-09 18:20   ` Rick Vernam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200701091057.19777.rickv@hobi.com \
    --to=rickv@hobi.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).