qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] loadvm and tap problem (perhaps a bug?!)
@ 2006-11-21  1:17 The Moon Seeker
  2006-11-27  8:31 ` Lonnie Mendez
  0 siblings, 1 reply; 10+ messages in thread
From: The Moon Seeker @ 2006-11-21  1:17 UTC (permalink / raw)
  To: qemu-devel

Hi,

I've two server running on qemu, there are connecte via tun/tap. I try 
to save the vm state and then restart the servers from vm state. The vm 
start correctly but the the networkin doesn't work. I don't know, 
perhaps my scripts are wrong?!

phase 1 (first boot)

brctl addbr link1

qemu -hda PC1.cow -hdb fat:qemuconfigs/pc1  -net 
nic,macaddr=00:ab:cd:7a:91:8c -net 
tap,script=pc1.eth1.sh,ifname=pc1.eth1 -net 
nic,macaddr=00:ab:cd:28:14:c1 -net 
tap,script=pc1.eth0.sh,ifname=pc1.eth0 -m 128 -serial 
tcp::3001,server,nowait -monitor tcp::4001,server,nowait

qemu -hda PC2.cow -hdb fat:qemuconfigs/pc2  -net 
nic,macaddr=00:ab:cd:51:66:69 -net 
tap,script=pc2.eth0.sh,ifname=pc2.eth0 -net 
nic,macaddr=00:ab:cd:2b:97:d7 -net 
tap,script=pc2.eth1.sh,ifname=pc2.eth1 -m 128 -serial 
tcp::3000,server,nowait -monitor tcp::4000,server,nowait

the tap scripts :

pc1.eth0

#!/bin/sh
ifconfig $1 0
sudo brctl addif link1 $1

pc1.eth1

#!/bin/sh
ifconfig $1 0

pc2.eth0

#!/bin/sh
ifconfig $1 0
sudo brctl addif link1 $1

pc2.eth0

#!/bin/sh
ifconfig $1 0

# at this point I can ping each vm

phase 2 (save vm state):

from each vm :

ctrl+alt+2, then
savevm pc1.stm
savevm pc2.stm

phase 3 (stop vm and delete the bridge) :

brctl delbr link1

phase 3 (reboot the vm and the network from state machine):

brctl addbr link1

qemu -hda PC1.cow -hdb fat:qemuconfigs/pc1  -net 
nic,macaddr=00:ab:cd:7a:91:8c -net 
tap,script=pc1.eth1.sh,ifname=pc1.eth1 -net 
nic,macaddr=00:ab:cd:28:14:c1 -net 
tap,script=pc1.eth0.sh,ifname=pc1.eth0 -m 128 -serial 
tcp::3000,server,nowait -monitor tcp::4000,server,nowait -loadvm pc1.stm

qemu -hda PC2.cow -hdb fat:qemuconfigs/pc2  -net 
nic,macaddr=00:ab:cd:51:66:69 -net 
tap,script=pc2.eth0.sh,ifname=pc2.eth0 -net 
nic,macaddr=00:ab:cd:2b:97:d7 -net 
tap,script=pc2.eth1.sh,ifname=pc2.eth1 -m 128 -serial 
tcp::3001,server,nowait -monitor tcp::4001,server,nowait -loadvm pc2.stm

# the vm starts buts it's impossible to ping vm ... what's happend??

what's wrongg????!!

Thank you

-Francis

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Qemu-devel] loadvm and tap problem (perhaps a bug?!)
@ 2006-11-21  8:29 The Moon Seeker
  2006-11-21  9:21 ` David Roberts
  0 siblings, 1 reply; 10+ messages in thread
From: The Moon Seeker @ 2006-11-21  8:29 UTC (permalink / raw)
  To: qemu-devel

Hi,

I've two server running on qemu, there are connecte via tun/tap. I try 
to save the vm state and then restart the servers from vm state. The vm 
start correctly but the the networkin doesn't work. I don't know, 
perhaps my scripts are wrong?!

phase 1 (first boot)

brctl addbr link1

qemu -hda PC1.cow -hdb fat:qemuconfigs/pc1  -net 
nic,macaddr=00:ab:cd:7a:91:8c -net 
tap,script=pc1.eth1.sh,ifname=pc1.eth1 -net 
nic,macaddr=00:ab:cd:28:14:c1 -net 
tap,script=pc1.eth0.sh,ifname=pc1.eth0 -m 128 -serial 
tcp::3001,server,nowait -monitor tcp::4001,server,nowait

qemu -hda PC2.cow -hdb fat:qemuconfigs/pc2  -net 
nic,macaddr=00:ab:cd:51:66:69 -net 
tap,script=pc2.eth0.sh,ifname=pc2.eth0 -net 
nic,macaddr=00:ab:cd:2b:97:d7 -net 
tap,script=pc2.eth1.sh,ifname=pc2.eth1 -m 128 -serial 
tcp::3000,server,nowait -monitor tcp::4000,server,nowait

the tap scripts :

pc1.eth0

#!/bin/sh
ifconfig $1 0
sudo brctl addif link1 $1

pc1.eth1

#!/bin/sh
ifconfig $1 0

pc2.eth0

#!/bin/sh
ifconfig $1 0
sudo brctl addif link1 $1

pc2.eth0

#!/bin/sh
ifconfig $1 0

# at this point I can ping each vm

phase 2 (save vm state):

from each vm :

ctrl+alt+2, then
savevm pc1.stm
savevm pc2.stm

phase 3 (stop vm and delete the bridge) :

brctl delbr link1

phase 3 (reboot the vm and the network from state machine):

brctl addbr link1

qemu -hda PC1.cow -hdb fat:qemuconfigs/pc1  -net 
nic,macaddr=00:ab:cd:7a:91:8c -net 
tap,script=pc1.eth1.sh,ifname=pc1.eth1 -net 
nic,macaddr=00:ab:cd:28:14:c1 -net 
tap,script=pc1.eth0.sh,ifname=pc1.eth0 -m 128 -serial 
tcp::3000,server,nowait -monitor tcp::4000,server,nowait -loadvm pc1.stm

qemu -hda PC2.cow -hdb fat:qemuconfigs/pc2  -net 
nic,macaddr=00:ab:cd:51:66:69 -net 
tap,script=pc2.eth0.sh,ifname=pc2.eth0 -net 
nic,macaddr=00:ab:cd:2b:97:d7 -net 
tap,script=pc2.eth1.sh,ifname=pc2.eth1 -m 128 -serial 
tcp::3001,server,nowait -monitor tcp::4001,server,nowait -loadvm pc2.stm

# the vm starts buts it's impossible to ping vm ... what's happend??

what's wrongg????!!

Thank you

-Francis

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] loadvm and tap problem (perhaps a bug?!)
  2006-11-21  8:29 The Moon Seeker
@ 2006-11-21  9:21 ` David Roberts
  2006-11-21  9:50   ` The Moon Seeker
                     ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: David Roberts @ 2006-11-21  9:21 UTC (permalink / raw)
  To: qemu-devel

> I've two server running on qemu, there are connecte via tun/tap. I try
> to save the vm state and then restart the servers from vm state. The vm
> start correctly but the the networkin doesn't work. I don't know,
> perhaps my scripts are wrong?!
You've sent the same message 3 times.

I've had similar problems with usb - apparently qemu is unable to restore usb 
controllers. Perhaps this is a similar issue - I don't know. If that is the 
issue, hopefully such things will be fixed at some stage.

-- 
David Roberts :)
http://kavenc.sf.net/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] loadvm and tap problem (perhaps a bug?!)
  2006-11-21  9:21 ` David Roberts
@ 2006-11-21  9:50   ` The Moon Seeker
  2006-11-21 10:27   ` The Moon Seeker
  2006-11-21 11:16   ` The Moon Seeker
  2 siblings, 0 replies; 10+ messages in thread
From: The Moon Seeker @ 2006-11-21  9:50 UTC (permalink / raw)
  To: qemu-devel

David Roberts a écrit :
> You've sent the same message 3 times.
>
>   
How :-[  I tought my email wasn't sent...

> I've had similar problems with usb - apparently qemu is unable to restore usb 
> controllers. Perhaps this is a similar issue - I don't know. If that is the 
> issue, hopefully such things will be fixed at some stage.
>   
Perhaps.. But there is something really amazing!! I use ethereal to 
listen communication and I can show the icmp request and the arp request 
coming on each interfaces but the nothing append the virtual machine do 
not reply... I don't understand... It's a riddle!!! Can someone help me?

Thanks

-Francis

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] loadvm and tap problem (perhaps a bug?!)
  2006-11-21  9:21 ` David Roberts
  2006-11-21  9:50   ` The Moon Seeker
@ 2006-11-21 10:27   ` The Moon Seeker
  2006-11-21 11:16   ` The Moon Seeker
  2 siblings, 0 replies; 10+ messages in thread
From: The Moon Seeker @ 2006-11-21 10:27 UTC (permalink / raw)
  To: qemu-devel

David Roberts a écrit :
> You've sent the same message 3 times.
>
>   
How :-[   I tought my email wasn't sent...

> I've had similar problems with usb - apparently qemu is unable to 
> restore usb controllers. Perhaps this is a similar issue - I don't 
> know. If that is the issue, hopefully such things will be fixed at 
> some stage.
>   
Perhaps.. But there is something really amazing!! I use ethereal to 
listen communication and I can show the icmp request and the arp request 
coming on each interfaces but the nothing append the virtual machine do 
not reply... I don't understand... It's a riddle!!! Can someone help me?

Thanks

-Francis

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] loadvm and tap problem (perhaps a bug?!)
  2006-11-21  9:21 ` David Roberts
  2006-11-21  9:50   ` The Moon Seeker
  2006-11-21 10:27   ` The Moon Seeker
@ 2006-11-21 11:16   ` The Moon Seeker
  2006-11-21 11:19     ` David Roberts
  2 siblings, 1 reply; 10+ messages in thread
From: The Moon Seeker @ 2006-11-21 11:16 UTC (permalink / raw)
  To: qemu-devel

David Roberts a écrit :
> You've sent the same message 3 times.
>
>   
How :-[   I tought my email wasn't sent...

> I've had similar problems with usb - apparently qemu is unable to 
> restore usb controllers. Perhaps this is a similar issue - I don't 
> know. If that is the issue, hopefully such things will be fixed at 
> some stage.
>   
Perhaps.. But there is something really amazing!! I use ethereal to 
listen communication and I can show the icmp request and the arp request 
coming on each interfaces but the nothing append the virtual machine do 
not reply... I don't understand... It's a riddle!!! Can someone help me?

Thanks

-Francis

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] loadvm and tap problem (perhaps a bug?!)
  2006-11-21 11:16   ` The Moon Seeker
@ 2006-11-21 11:19     ` David Roberts
  2006-11-21 12:04       ` The Moon Seeker
  0 siblings, 1 reply; 10+ messages in thread
From: David Roberts @ 2006-11-21 11:19 UTC (permalink / raw)
  To: qemu-devel

Stop sending multiple messages - they are getting through.

On Tuesday 21 November 2006 9:16 pm, The Moon Seeker wrote:
> David Roberts a écrit :
> > You've sent the same message 3 times.
>
> How :-[   I tought my email wasn't sent...
>
> > I've had similar problems with usb - apparently qemu is unable to
> > restore usb controllers. Perhaps this is a similar issue - I don't
> > know. If that is the issue, hopefully such things will be fixed at
> > some stage.
>
> Perhaps.. But there is something really amazing!! I use ethereal to
> listen communication and I can show the icmp request and the arp request
> coming on each interfaces but the nothing append the virtual machine do
> not reply... I don't understand... It's a riddle!!! Can someone help me?
>
> Thanks
>
> -Francis
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel

-- 
David Roberts :)
http://kavenc.sf.net/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] loadvm and tap problem (perhaps a bug?!)
  2006-11-21 11:19     ` David Roberts
@ 2006-11-21 12:04       ` The Moon Seeker
  2006-11-21 12:08         ` David Roberts
  0 siblings, 1 reply; 10+ messages in thread
From: The Moon Seeker @ 2006-11-21 12:04 UTC (permalink / raw)
  To: qemu-devel

David Roberts a écrit :
> Stop sending multiple messages - they are getting through.
>
>   
oups.....

i don't understand why I receive this message: (that's why I try to 
resent my mail...)

This is an automatically generated Delivery Status Notification

Delivery to the following recipient failed permanently:

     rebecca_langley.hpunyj2yas@beta.blogger.com

   ----- Original message -----

Received: by 10.36.47.14 with SMTP id u14mr10337960nzu.1164108151680;
        Tue, 21 Nov 2006 03:22:31 -0800 (PST)
Return-Path: <themoonseeker@gmail.com>
Received: from blogger.com (ftpout.blogger.com [66.102.15.83])
        by mx.google.com with ESMTP id y6si2784807nzg.2006.11.21.03.22.30;
        Tue, 21 Nov 2006 03:22:31 -0800 (PST)
Received-SPF: neutral (google.com: 66.102.15.83 is neither permitted nor denied by domain of themoonseeker@gmail.com)
DomainKey-Status: bad (test mode)
Received: by blogger.com (Postfix, from userid 99)
	id 5E4B2D8377; Tue, 21 Nov 2006 03:30:34 -0800 (PST)
Received: from bla18.blogger.com (localhost [127.0.0.1])
	by blogger.com (Postfix) with ESMTP id 3B89FD8386
	for <rebecca_langley.hpunyj2yas@beta.blogger.com>; Tue, 21 Nov 2006 03:30:34 -0800 (PST)
X-Original-To: rebecca_langley.hPuNyj2Yas@blogger.com
Received: by blogger.com (Postfix, from userid 99)
	id DC6D2D8377; Tue, 21 Nov 2006 03:30:33 -0800 (PST)
Received: from lists.gnu.org (lists.gnu.org [199.232.76.165])
	by blogger.com (Postfix) with ESMTP id 20A86D836B
	for <rebecca_langley.hPuNyj2Yas@blogger.com>;
	Tue, 21 Nov 2006 03:30:31 -0800 (PST)
Received: from localhost ([127.0.0.1] helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1GmTdu-00067h-Mm
	for rebecca_langley.hPuNyj2Yas@blogger.com;
	Tue, 21 Nov 2006 06:18:22 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1GmTcN-0005sj-Vl
	for qemu-devel@nongnu.org; Tue, 21 Nov 2006 06:16:48 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1GmTcM-0005rv-7y
	for qemu-devel@nongnu.org; Tue, 21 Nov 2006 06:16:47 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1GmTcM-0005ro-2c
	for qemu-devel@nongnu.org; Tue, 21 Nov 2006 06:16:46 -0500
Received: from [66.249.92.175] (helo=ug-out-1314.google.com)
	by monty-python.gnu.org with esmtp (Exim 4.52) id 1GmTcL-00031U-Sj
	for qemu-devel@nongnu.org; Tue, 21 Nov 2006 06:16:46 -0500
Received: by ug-out-1314.google.com with SMTP id j40so1293488ugd
	for <qemu-devel@nongnu.org>; Tue, 21 Nov 2006 03:16:44 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding;
	b=NIzWgzDRfws0r/DoIe7OHHHA0efADvxykA2ilSQZmjgYH79G+POuVZAP1U8eNZIbFJxeyS9kLt5rH5tPHfoU67y4UDn7K4nGUnBazbIXx7SZK/IMoHf4DUw2g0M9fJdRIt6pfYaKBnfBo0IiT0QU+y9mfzTZAZR16blVcRk5QMI=
Received: by 10.66.232.10 with SMTP id e10mr905783ugh.1164107804761;
	Tue, 21 Nov 2006 03:16:44 -0800 (PST)
Received: from ?192.168.1.113? ( [80.83.50.36])
	by mx.google.com with ESMTP id i39sm5891665ugd.2006.11.21.03.16.43;
	Tue, 21 Nov 2006 03:16:43 -0800 (PST)
Message-ID: <4562E01A.9030102@gmail.com>
Date: Tue, 21 Nov 2006 12:16:42 +0100
From: The Moon Seeker <themoonseeker@gmail.com>
User-Agent: Thunderbird 1.5.0.7 (X11/20060918)
MIME-Version: 1.0
To: rebecca_langley.hpunyj2yas@beta.blogger.com
Subject: Re: [Qemu-devel] loadvm and tap problem (perhaps a bug?!)
References: <4562B8E5.5030908@gmail.com> <200611211921.37691.dvdr18@gmail.com>
In-Reply-To: <200611211921.37691.dvdr18@gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-BeenThere: qemu-devel@nongnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: qemu-devel@nongnu.org
List-Id: qemu-devel.nongnu.org
List-Unsubscribe: <http://lists.nongnu.org/mailman/listinfo/qemu-devel>,
	<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/qemu-devel>
List-Post: <mailto:qemu-devel@nongnu.org>
List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help>
List-Subscribe: <http://lists.nongnu.org/mailman/listinfo/qemu-devel>,
	<mailto:qemu-devel-request@nongnu.org?subject=subscribe>
Sender: qemu-devel-bounces+rebecca_langley.hpunyj2yas=blogger.com@nongnu.org
Errors-To: qemu-devel-bounces+rebecca_langley.hpunyj2yas=blogger.com@nongnu.org
X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on bla18.blogger.com
X-Spam-Status: No, score=0.9 required=5.0 tests=PLING_QUERY,RCVD_BY_IP 
	autolearn=no version=3.0.2
X-Spam-Level: 

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] loadvm and tap problem (perhaps a bug?!)
  2006-11-21 12:04       ` The Moon Seeker
@ 2006-11-21 12:08         ` David Roberts
  0 siblings, 0 replies; 10+ messages in thread
From: David Roberts @ 2006-11-21 12:08 UTC (permalink / raw)
  To: qemu-devel

I'm getting exactly the same thing. I'm assuming this person no longer is 
receving messages - perhaps they could be removed from the list (If any list 
admins are reading this).

On Tuesday 21 November 2006 10:04 pm, The Moon Seeker wrote:
> David Roberts a écrit :
> > Stop sending multiple messages - they are getting through.
>
> oups.....
>
> i don't understand why I receive this message: (that's why I try to
> resent my mail...)
>
> This is an automatically generated Delivery Status Notification
>
> Delivery to the following recipient failed permanently:
>
>      rebecca_langley.hpunyj2yas@beta.blogger.com
>
>    ----- Original message -----
>
> Received: by 10.36.47.14 with SMTP id u14mr10337960nzu.1164108151680;
>         Tue, 21 Nov 2006 03:22:31 -0800 (PST)
> Return-Path: <themoonseeker@gmail.com>
> Received: from blogger.com (ftpout.blogger.com [66.102.15.83])
>         by mx.google.com with ESMTP id y6si2784807nzg.2006.11.21.03.22.30;
>         Tue, 21 Nov 2006 03:22:31 -0800 (PST)
> Received-SPF: neutral (google.com: 66.102.15.83 is neither permitted nor
> denied by domain of themoonseeker@gmail.com) DomainKey-Status: bad (test
> mode)
> Received: by blogger.com (Postfix, from userid 99)
> 	id 5E4B2D8377; Tue, 21 Nov 2006 03:30:34 -0800 (PST)
> Received: from bla18.blogger.com (localhost [127.0.0.1])
> 	by blogger.com (Postfix) with ESMTP id 3B89FD8386
> 	for <rebecca_langley.hpunyj2yas@beta.blogger.com>; Tue, 21 Nov 2006
> 03:30:34 -0800 (PST) X-Original-To: rebecca_langley.hPuNyj2Yas@blogger.com
> Received: by blogger.com (Postfix, from userid 99)
> 	id DC6D2D8377; Tue, 21 Nov 2006 03:30:33 -0800 (PST)
> Received: from lists.gnu.org (lists.gnu.org [199.232.76.165])
> 	by blogger.com (Postfix) with ESMTP id 20A86D836B
> 	for <rebecca_langley.hPuNyj2Yas@blogger.com>;
> 	Tue, 21 Nov 2006 03:30:31 -0800 (PST)
> Received: from localhost ([127.0.0.1] helo=lists.gnu.org)
> 	by lists.gnu.org with esmtp (Exim 4.43) id 1GmTdu-00067h-Mm
> 	for rebecca_langley.hPuNyj2Yas@blogger.com;
> 	Tue, 21 Nov 2006 06:18:22 -0500
> Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
> 	id 1GmTcN-0005sj-Vl
> 	for qemu-devel@nongnu.org; Tue, 21 Nov 2006 06:16:48 -0500
> Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
> 	id 1GmTcM-0005rv-7y
> 	for qemu-devel@nongnu.org; Tue, 21 Nov 2006 06:16:47 -0500
> Received: from [199.232.76.173] (helo=monty-python.gnu.org)
> 	by lists.gnu.org with esmtp (Exim 4.43) id 1GmTcM-0005ro-2c
> 	for qemu-devel@nongnu.org; Tue, 21 Nov 2006 06:16:46 -0500
> Received: from [66.249.92.175] (helo=ug-out-1314.google.com)
> 	by monty-python.gnu.org with esmtp (Exim 4.52) id 1GmTcL-00031U-Sj
> 	for qemu-devel@nongnu.org; Tue, 21 Nov 2006 06:16:46 -0500
> Received: by ug-out-1314.google.com with SMTP id j40so1293488ugd
> 	for <qemu-devel@nongnu.org>; Tue, 21 Nov 2006 03:16:44 -0800 (PST)
> DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
> 	h=received:message-id:date:from:user-agent:mime-version:to:subject:referen
>ces:in-reply-to:content-type:content-transfer-encoding;
> b=NIzWgzDRfws0r/DoIe7OHHHA0efADvxykA2ilSQZmjgYH79G+POuVZAP1U8eNZIbFJxeyS9kL
>t5rH5tPHfoU67y4UDn7K4nGUnBazbIXx7SZK/IMoHf4DUw2g0M9fJdRIt6pfYaKBnfBo0IiT0QU+
>y9mfzTZAZR16blVcRk5QMI= Received: by 10.66.232.10 with SMTP id
> e10mr905783ugh.1164107804761; Tue, 21 Nov 2006 03:16:44 -0800 (PST)
> Received: from ?192.168.1.113? ( [80.83.50.36])
> 	by mx.google.com with ESMTP id i39sm5891665ugd.2006.11.21.03.16.43;
> 	Tue, 21 Nov 2006 03:16:43 -0800 (PST)
> Message-ID: <4562E01A.9030102@gmail.com>
> Date: Tue, 21 Nov 2006 12:16:42 +0100
> From: The Moon Seeker <themoonseeker@gmail.com>
> User-Agent: Thunderbird 1.5.0.7 (X11/20060918)
> MIME-Version: 1.0
> To: rebecca_langley.hpunyj2yas@beta.blogger.com
> Subject: Re: [Qemu-devel] loadvm and tap problem (perhaps a bug?!)
> References: <4562B8E5.5030908@gmail.com>
> <200611211921.37691.dvdr18@gmail.com> In-Reply-To:
> <200611211921.37691.dvdr18@gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 8bit
> X-BeenThere: qemu-devel@nongnu.org
> X-Mailman-Version: 2.1.5
> Precedence: list
> Reply-To: qemu-devel@nongnu.org
> List-Id: qemu-devel.nongnu.org
> List-Unsubscribe: <http://lists.nongnu.org/mailman/listinfo/qemu-devel>,
> 	<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>
> List-Archive: <http://lists.gnu.org/pipermail/qemu-devel>
> List-Post: <mailto:qemu-devel@nongnu.org>
> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help>
> List-Subscribe: <http://lists.nongnu.org/mailman/listinfo/qemu-devel>,
> 	<mailto:qemu-devel-request@nongnu.org?subject=subscribe>
> Sender:
> qemu-devel-bounces+rebecca_langley.hpunyj2yas=blogger.com@nongnu.org
> Errors-To:
> qemu-devel-bounces+rebecca_langley.hpunyj2yas=blogger.com@nongnu.org
> X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on
> bla18.blogger.com X-Spam-Status: No, score=0.9 required=5.0
> tests=PLING_QUERY,RCVD_BY_IP autolearn=no version=3.0.2
> X-Spam-Level:
>
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel

-- 
David Roberts :)
http://kavenc.sf.net/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Qemu-devel] loadvm and tap problem (perhaps a bug?!)
  2006-11-21  1:17 [Qemu-devel] loadvm and tap problem (perhaps a bug?!) The Moon Seeker
@ 2006-11-27  8:31 ` Lonnie Mendez
  0 siblings, 0 replies; 10+ messages in thread
From: Lonnie Mendez @ 2006-11-27  8:31 UTC (permalink / raw)
  To: qemu-devel

On Tue, 2006-11-21 at 02:17 +0100, The Moon Seeker wrote:
> 
> phase 1 (first boot)
> 
> brctl addbr link1
> 
> qemu -hda PC1.cow -hdb fat:qemuconfigs/pc1  -net 
> nic,macaddr=00:ab:cd:7a:91:8c -net 
> tap,script=pc1.eth1.sh,ifname=pc1.eth1 -net 
> nic,macaddr=00:ab:cd:28:14:c1 -net 
> tap,script=pc1.eth0.sh,ifname=pc1.eth0 -m 128 -serial 
> tcp::3001,server,nowait -monitor tcp::4001,server,nowait
> 
> qemu -hda PC2.cow -hdb fat:qemuconfigs/pc2  -net 
> nic,macaddr=00:ab:cd:51:66:69 -net 
> tap,script=pc2.eth0.sh,ifname=pc2.eth0 -net 
> nic,macaddr=00:ab:cd:2b:97:d7 -net 
> tap,script=pc2.eth1.sh,ifname=pc2.eth1 -m 128 -serial 
> tcp::3000,server,nowait -monitor tcp::4000,server,nowait
> 
> the tap scripts :
> 
> pc1.eth0
> 
> #!/bin/sh
> ifconfig $1 0
> sudo brctl addif link1 $1
> 
> pc1.eth1
> 
> #!/bin/sh
> ifconfig $1 0
> 
> pc2.eth0
> 
> #!/bin/sh
> ifconfig $1 0
> sudo brctl addif link1 $1
> 
> pc2.eth0
> 
> #!/bin/sh
> ifconfig $1 0
> 
> # at this point I can ping each vm
> 
> phase 2 (save vm state):
> 
> from each vm :
> 
> ctrl+alt+2, then
> savevm pc1.stm
> savevm pc2.stm
> 
> phase 3 (stop vm and delete the bridge) :
> 
> brctl delbr link1
> 
> phase 3 (reboot the vm and the network from state machine):
> 
> brctl addbr link1

You shouldn't have to delete the bridge interface - in fact deleting it
and then starting the qemu sessions without a bridge present invalidates
the qemu-ifup scripts usage of the bridge link1.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-11-27  8:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-21  1:17 [Qemu-devel] loadvm and tap problem (perhaps a bug?!) The Moon Seeker
2006-11-27  8:31 ` Lonnie Mendez
  -- strict thread matches above, loose matches on Subject: below --
2006-11-21  8:29 The Moon Seeker
2006-11-21  9:21 ` David Roberts
2006-11-21  9:50   ` The Moon Seeker
2006-11-21 10:27   ` The Moon Seeker
2006-11-21 11:16   ` The Moon Seeker
2006-11-21 11:19     ` David Roberts
2006-11-21 12:04       ` The Moon Seeker
2006-11-21 12:08         ` David Roberts

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).