[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/3] Delayed IP packets
From: |
Jan Kiszka |
Subject: |
Re: [Qemu-devel] [PATCH 3/3] Delayed IP packets |
Date: |
Thu, 29 Sep 2011 19:41:33 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
On 2011-09-29 18:06, Amit Shah wrote:
> On (Wed) 03 Aug 2011 [13:24:22], Jan Kiszka wrote:
>> From: Fabien Chouteau <address@hidden>
>>
>> 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