From mboxrd@z Thu Jan 1 00:00:00 1970 From: haishan Subject: Re: Question about starting 2 VMs using Qemu Date: Mon, 09 Aug 2010 09:49:33 +0800 Message-ID: <4C5F5EAD.5050904@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "qemu-devel@nongnu.org" , "kvm@vger.kernel.org" To: Anjali Kulkarni Return-path: Received: from mail.windriver.com ([147.11.1.11]:64201 "EHLO mail.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752596Ab0HIBvt (ORCPT ); Sun, 8 Aug 2010 21:51:49 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: 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 >