没有guest添加的虚拟机客户机上的hwclock输出是什么


1

我的主机是Ubuntu,hwclock与系统时间同步:

mike@laptop:~$ sudo hwclock;date
Thu 15 Mar 2018 13:56:58 GMT  .655654 seconds
Thu 15 Mar 13:56:59 GMT 2018

但是如果我在VirtualBox guest虚拟机中运行这些命令(在主机上运行的1秒内),那么hwclock不是主机hwclock的时间:

[root@rhel65 ~]# hwclock;date
Thu 15 Mar 2018 04:06:27 GMT  -0.119648 seconds
Thu Mar 15 13:50:10 GMT 2018

并且不仅仅是“小时”不正确 - 它也是分钟和秒,所以当没有安装客户添加时,vbox为客户提供RTC的时间 - 我曾假设它会给主机RTC ,无论是否安装了vbox guest添加项。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.