From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:48077) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9KcT-00033p-Jf for qemu-devel@nongnu.org; Thu, 29 Sep 2011 13:42:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R9KcS-0006BU-85 for qemu-devel@nongnu.org; Thu, 29 Sep 2011 13:42:01 -0400 Received: from goliath.siemens.de ([192.35.17.28]:33029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R9KcR-0006B8-TP for qemu-devel@nongnu.org; Thu, 29 Sep 2011 13:42:00 -0400 Message-ID: <4E84ADCD.8030005@siemens.com> Date: Thu, 29 Sep 2011 19:41:33 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <1ab74cea060d776b19857c3babc64d729bbdba5c.1312370658.git.jan.kiszka@siemens.com> <20110929160646.GA16909@amit-x200.redhat.com> In-Reply-To: <20110929160646.GA16909@amit-x200.redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 3/3] Delayed IP packets List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amit Shah Cc: Anthony Liguori , qemu-devel , Fabien Chouteau On 2011-09-29 18:06, Amit Shah wrote: > On (Wed) 03 Aug 2011 [13:24:22], Jan Kiszka wrote: >> From: Fabien Chouteau >> >> In the current implementation, if Slirp tries to send an IP packet to a client >> with an unknown hardware address, the packet is simply dropped and an ARP >> request is sent (if_encap in slirp/slirp.c). >> >> With this patch, Slirp will send the ARP request, re-queue the packet and try >> to send it later. The packet is dropped after one second if the ARP reply is >> not received. > > This patch causes a segfault when guests wake up from hibernate. > > Recipe: > 1. Start guest with -net user -net nic,model=virtio > 2. (guest) ping 10.0.2.2 > 3. (guest) echo "disk" > /sys/power/state > 4. Re-start guest with same command line > 5. Ping has stopped receiving replies. > 6. Kill that ping process and start a new one. qemu segfaults. Can't reproduce, I'm not getting stable hibernation here even without any network configured. Could you check if the recent pull request [1] changes the picture for you? Thanks, Jan [1] http://thread.gmane.org/gmane.comp.emulators.qemu/118992 -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux