From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=34802 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OiHWp-0005fo-RW for qemu-devel@nongnu.org; Sun, 08 Aug 2010 21:51:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OiHWn-0005ls-BD for qemu-devel@nongnu.org; Sun, 08 Aug 2010 21:51:50 -0400 Received: from mail.windriver.com ([147.11.1.11]:64200) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OiHWn-0005lS-4J for qemu-devel@nongnu.org; Sun, 08 Aug 2010 21:51:49 -0400 Message-ID: <4C5F5EAD.5050904@gmail.com> Date: Mon, 09 Aug 2010 09:49:33 +0800 From: haishan MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: Question about starting 2 VMs using Qemu List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anjali Kulkarni Cc: "qemu-devel@nongnu.org" , "kvm@vger.kernel.org" Anjali Kulkarni wrote: > Hi, > > I can start my freebsd based image in Qemu, and I use tap interface for > connectivity to the host or external world, but when I try to fire up 2 > instances, using tap, it fails. For the second invocation, it gives me the > error: > > [root@ipg-virt01 tmp]# ./qemu-system-x86_64 -m 512 anjali.img -net > nic,model=yukon,macaddr=52:54:00:00:aa:02 -net tap,ifname=tap0,script=no > warning: could not configure /dev/net/tun: no virtual network emulation > Could not initialize device 'tap' > > Am I doing something wrong? The first instance is running fine. > > Please make sure your instances have different mac address. The following settings might work: Instance 1: macaddr=52:54:00:00:aa:02 Instance 2: macaddr=52:54:00:00:aa:03 Thanks Shan Hai > Anjali > > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >