Hi community!
Tell me please, how can I force time sync between VMs and host computer via API Vbox? Which method can I use?
Thank you in advance!
How to do time sync via API
-
- Site Moderator
- Posts: 5229
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: How to do time sync via API
There isn't a method to do it AFAIK.
You can always fiddle with IMachine::setExtraData() and see relevant keys/values in User Manual - Topic 9.14 - Fine-tuning timers and time synchronization and see if you can force it by enabling/disabling or something like that.
You can always fiddle with IMachine::setExtraData() and see relevant keys/values in User Manual - Topic 9.14 - Fine-tuning timers and time synchronization and see if you can force it by enabling/disabling or something like that.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!
Re: How to do time sync via API
Noteirak - thank you!
GuestAdd must be installed inside the VM for use IMachine::setExtraData() or we can use that method without guest add?
GuestAdd must be installed inside the VM for use IMachine::setExtraData() or we can use that method without guest add?
-
- Site Moderator
- Posts: 5229
- Joined: 13. Jan 2012, 11:14
- Primary OS: Debian other
- VBox Version: OSE Debian
- Guest OSses: Debian, Win 2k8, Win 7
- Contact:
Re: How to do time sync via API
You don't need installed to use IMachine::setExtraData(), but you do need the guest additions installed for the whole timesync to have any effect.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Manage your VirtualBox infrastructure the free way!