Change-Id: I20f80b3614128a2462e87461b9cb9898683fc8fc Signed-off-by: Keane Lim <keane.lim@windriver.com>
1.1 KiB
1.1 KiB
Configure KVM Virtual PTP Driver
The virtual driver allows guests to sync the reference clock to the host's high precision PTP clock reference.
must be enabled on in order to use the virtual driver in guest .
To leverage in a and sync the reference clock with the hosting compute or -controller node, do the following in the :
Load the driver:
~(keystone_admin)$ modprobe kvm_ptpUpdate the reference clock in the chrony config file (/etc/chrony.conf):
~(keystone_admin)$ refclock PHC /dev/ptp0 poll 3 dpoll -2 offset 0Restart the chronyd service:
~(keystone_admin)$ systemctl restart chronyd.serviceConfirm that the device is in the list of time sources:
~(keystone_admin)$ systemctl restart chronyd.service