Received: from eggs.gnu.org ([2001:4830:134:3::10]:37822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9msw-0004Nr-1m for qemu-devel@nongnu.org; Tue, 30 Jun 2015 00:11:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9mss-0003aG-Bb for qemu-devel@nongnu.org; Tue, 30 Jun 2015 00:11:01 -0400 Received: from indium.canonical.com ([91.189.90.7]:50426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9msr-0003Zy-UM for qemu-devel@nongnu.org; Tue, 30 Jun 2015 00:10:58 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1Z9msr-0000R4-GV for ; Tue, 30 Jun 2015 04:10:57 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 719122E80C2 for ; Tue, 30 Jun 2015 04:10:57 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 30 Jun 2015 03:41:13 -0000 From: chao zhou Sender: bounces@canonical.com References: <20150630034055.10614.7558.malonedeb@soybean.canonical.com> Message-Id: <20150630034113.15568.92567.malone@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1469946] Re: guest can't get IP when create guest with bridge. Reply-To: Bug 1469946 <1469946@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org the first bad commit is commit a90a7425cf592a3afeff3eaf32f543b83050ee5c Author: Fam Zheng Date: Thu Jun 4 14:45:17 2015 +0800 tap: Drop tap_can_send = This callback is called by main loop before polling s->fd, if it returns false, the fd will not be polled in this iteration. = This is redundant with checks inside read callback. After this patch, the data will be sent to peer when it arrives. If the device can't receive, it will be queued to incoming_queue, and when the device status changes, this queue will be flushed. = Signed-off-by: Fam Zheng Message-id: 1433400324-7358-7-git-send-email-famz@redhat.com Signed-off-by: Stefan Hajnoczi -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1469946 Title: guest can't get IP when create guest with bridge. Status in QEMU: New Bug description: Environment: ------------ Host OS (ia32/ia32e/IA64):ia32e Guest OS (ia32/ia32e/IA64):ia32e Guest OS Type (Linux/Windows):linux kvm.git Commit:aefbef10e3ae6e2c6e3c54f906f10b34c73a2c66 qemu.git Commit:dc1e1350f8061021df765b396295329797d66933 Host Kernel Version:4.1.0 Hardware:Ivytown_EP, Haswell_EP = Bug detailed description: -------------------------- when create guest with bridge, the guest can not get ip. note: 1. fail rate: 3/5 2. this is a qemu bug: kvm + qemu =3D result aefbef10 + dc1e1350 =3D bad = aefbef10 + a4ef02fd =3D good Reproduce steps: ---------------- 1. create guest: qemu-system-x86_64 -enable-kvm -m 2G -smp 4 -device virtio-net-pci,netdev= =3Dnet0,mac=3D$random_mac -netdev tap,id=3Dnet0,script=3D/etc/kvm/qemu-ifup= rhel6u5.qcow Current result: ---------------- guest can't get IP Expected result: ---------------- guest can get ip Basic root-causing log: ---------------------- To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1469946/+subscriptions