Hi Aleksey,<div>   In my case, my guest os tries to send data as soon it is restored and that fails because network is not up for 5 secs. So my guest os knows that the data link is down but needs to wait 5 secs before sending data again.</div>
<div><br></div><div>It doesn't need 5 secs clean up its old connections when its informed that the network is down.</div><div><br></div><div>I see the hardcoded timeout in the network adapters code. </div><div><br></div>
<div>Thanks</div><div><br></div><div><br><br><div class="gmail_quote">On Thu, May 24, 2012 at 9:43 AM, Aleksey Ilyushin <span dir="ltr"><<a href="mailto:aleksey.ilyushin@oracle.com" target="_blank">aleksey.ilyushin@oracle.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi Jaikumar,<div><br></div><div>I can make the timeout configurable, but I fail to understand how it would help you. Are you trying to preserve connections? This timeout affects network only, the machine starts running long before the connection gets brought up.</div>
<div><br></div><div>Regards,</div><div>Aleksey</div><div><div class="h5"><div><br></div><div><div><div>On May 21, 2012, at 11:07 PM, Jaikumar G wrote:</div><br><blockquote type="cite">Hi Aleksey,<div><br></div><div><br><div class="gmail_quote">
On Mon, May 21, 2012 at 11:35 AM, Aleksey Ilyushin <span dir="ltr"><<a href="mailto:aleksey.ilyushin@oracle.com" target="_blank">aleksey.ilyushin@oracle.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Jaikumar,<br>
<br>
This behavior is intentional. Machine's state may be saved in one network environment, and restored in completely different one (VM on laptop that brought home from office, for example). VirtualBox forces the link down and back up after a timeout.<br>

</blockquote><div><br></div><div><div>    I understand the need to bring the machine networking down and up. Is the timeout configurable ? Seems like it slows down the restoration process if the restoring is happening on the same machine.</div>

<div><br>Thanks</div></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Regards,<br>
Aleksey<br>
<div><div><br>
On May 21, 2012, at 9:52 PM, Jaikumar G wrote:<br>
<br>
> Folks,<br>
>    When trying to restore a snaphot (of a paused machine) the network takes close to 5 secs to come back up.<br>
><br>
> VBox Log snippet is below. I tried switching the adapter that I was using but that I didn't help either.<br>
><br>
> Any pointers ?<br>
><br>
> 00:00:01.343 HGCM: restoring [VBoxSharedFolders]<br>
> 00:00:01.343 HGCM: restoring [VBoxGuestControlSvc]<br>
> 00:00:01.343 HGCM: restoring [VBoxGuestPropSvc]<br>
> 00:00:01.343 HGCM: restoring [VBoxSharedClipboard]<br>
> 00:00:01.354 Changing the VM state from 'LOADING' to 'SUSPENDED'.<br>
> 00:00:01.354 Changing the VM state from 'SUSPENDED' to 'RESUMING'.<br>
> 00:00:01.354 Changing the VM state from 'RESUMING' to 'RUNNING'.<br>
> 00:00:01.362 Display::handleDisplayResize(): uScreenId = 0, pvVRAM=00002abb5917a000 w=1024 h=768 bpp=16 cbLine=0x800, flags=0x1<br>
> 00:00:01.612 VUSB: attached 'HidMouse' to port 1<br>
> 00:00:06.364 PCNet#0: The link is back up again after the restore.<br>
> 00:00:07.473 NAT: DHCP offered IP address 10.0.2.15<br>
><br>
> Thanks<br>
</div></div>> _______________________________________________<br>
> vbox-dev mailing list<br>
> <a href="mailto:vbox-dev@virtualbox.org" target="_blank">vbox-dev@virtualbox.org</a><br>
> <a href="https://www.virtualbox.org/mailman/listinfo/vbox-dev" target="_blank">https://www.virtualbox.org/mailman/listinfo/vbox-dev</a><br>
<br>
</blockquote></div><br></div>
</blockquote></div><br></div></div></div></div></blockquote></div><br></div>