[vbox-dev] Network restoration after snapshot

Jaikumar G jaienigma at gmail.com
Thu May 24 18:04:13 GMT 2012


Hi Aleksey,
   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.

It doesn't need 5 secs clean up its old connections when its informed that
the network is down.

I see the hardcoded timeout in the network adapters code.

Thanks



On Thu, May 24, 2012 at 9:43 AM, Aleksey Ilyushin <
aleksey.ilyushin at oracle.com> wrote:

> Hi Jaikumar,
>
> 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.
>
> Regards,
> Aleksey
>
> On May 21, 2012, at 11:07 PM, Jaikumar G wrote:
>
> Hi Aleksey,
>
>
> On Mon, May 21, 2012 at 11:35 AM, Aleksey Ilyushin <
> aleksey.ilyushin at oracle.com> wrote:
>
>> Jaikumar,
>>
>> 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.
>>
>
>     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.
>
> Thanks
>
>
>
>>
>> Regards,
>> Aleksey
>>
>> On May 21, 2012, at 9:52 PM, Jaikumar G wrote:
>>
>> > Folks,
>> >    When trying to restore a snaphot (of a paused machine) the network
>> takes close to 5 secs to come back up.
>> >
>> > VBox Log snippet is below. I tried switching the adapter that I was
>> using but that I didn't help either.
>> >
>> > Any pointers ?
>> >
>> > 00:00:01.343 HGCM: restoring [VBoxSharedFolders]
>> > 00:00:01.343 HGCM: restoring [VBoxGuestControlSvc]
>> > 00:00:01.343 HGCM: restoring [VBoxGuestPropSvc]
>> > 00:00:01.343 HGCM: restoring [VBoxSharedClipboard]
>> > 00:00:01.354 Changing the VM state from 'LOADING' to 'SUSPENDED'.
>> > 00:00:01.354 Changing the VM state from 'SUSPENDED' to 'RESUMING'.
>> > 00:00:01.354 Changing the VM state from 'RESUMING' to 'RUNNING'.
>> > 00:00:01.362 Display::handleDisplayResize(): uScreenId = 0,
>> pvVRAM=00002abb5917a000 w=1024 h=768 bpp=16 cbLine=0x800, flags=0x1
>> > 00:00:01.612 VUSB: attached 'HidMouse' to port 1
>> > 00:00:06.364 PCNet#0: The link is back up again after the restore.
>> > 00:00:07.473 NAT: DHCP offered IP address 10.0.2.15
>> >
>> > Thanks
>> > _______________________________________________
>> > vbox-dev mailing list
>> > vbox-dev at virtualbox.org
>> > https://www.virtualbox.org/mailman/listinfo/vbox-dev
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20120524/660e7085/attachment.html>


More information about the vbox-dev mailing list