On Sat, 2009-07-18 at 08:49 +0000, Konstantinos Agouros wrote: 
> I have a gentoo-guest in a virtualbox vm that is running on a mac. When I do
> not use it I just put it to sleep and wake it up, when needed. Is there a
> way that the guest recognizes the wakeup and than sets the time using ntpdate
> or based on the clock of the host-os which is ntp-synchronized?

If you install the virtualbox guest additions in your Gentoo guest,
virtualbox can take care of syncing your guest's clock with the host's
clock. I use app-emulation/virtualbox-guest-additions on a development
VM at work that I suspend every night, and the clock is always correct
when I resume the machine in the morning. If I remember correctly, it is
only necessary to start the virtualbox-guest-additions service for the
clock syncing to work. My host machine is an XP box, but I suspect it
should work the same for a Mac host. I do not have access to the machine
from home, but if you cannot get it working, respond back and I would be
happy to check my setup on Monday.

Regards,

Brandon Vargo


Reply via email to