From: Feng Yang <fyang@redhat.com>
To: autotest@test.kernel.org
Cc: kvm@vger.kernel.org, Feng Yang <fyang@redhat.com>
Subject: [Autotest][PATCH] KVM Test: Update qemu-ifup script to set bridge's forwarding delay to 0.
Date: Mon, 10 May 2010 15:41:28 +0800 [thread overview]
Message-ID: <1273477288-5033-1-git-send-email-fyang@redhat.com> (raw)
Our pxe case always fail. The problem is that the bridge takes some time
to enter the forwarding state. Before that, packages are simply dropped by
the bridge.
If one sets:
$ brctl setfd <bridge> 0 # forward delay = 0
It works.
Signed-off-by: Feng Yang <fyang@redhat.com>
---
client/tests/kvm/scripts/qemu-ifup | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/scripts/qemu-ifup b/client/tests/kvm/scripts/qemu-ifup
index bcd9a7a..3d23fb4 100755
--- a/client/tests/kvm/scripts/qemu-ifup
+++ b/client/tests/kvm/scripts/qemu-ifup
@@ -6,3 +6,4 @@ switch=$(/usr/sbin/brctl show | awk 'NR==2 { print $1 }')
/sbin/ifconfig $1 0.0.0.0 up
/usr/sbin/brctl addif ${switch} $1
+/usr/sbin/brctl setfd ${switch} 0
--
1.5.5.6
next reply other threads:[~2010-05-10 7:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-10 7:41 Feng Yang [this message]
2010-05-17 20:44 ` [Autotest][PATCH] KVM Test: Update qemu-ifup script to set bridge's forwarding delay to 0 Lucas Meneghel Rodrigues
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=1273477288-5033-1-git-send-email-fyang@redhat.com \
--to=fyang@redhat.com \
--cc=autotest@test.kernel.org \
--cc=kvm@vger.kernel.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).