docs/doc/source/guest_integration/openstack/configure-kvm-virtual-ptp-driver.rst
Ron Stone f125a8b892 Remove spurious escapes (r8,dsR8)
This change addresses a long-standing issue in rST documentation imported from XML.
That import process added backslash escapes in front of various characters. The three
most common being '(', ')', and '_'.
These instances are removed.

Signed-off-by: Ron Stone <ronald.stone@windriver.com>
Change-Id: Id43a9337ffcd505ccbdf072d7b29afdb5d2c997e
2023-03-01 11:19:04 +00:00

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 :

  1. Load the driver:

    ~(keystone_admin)$ modprobe kvm_ptp
  2. Update the reference clock in the chrony config file (/etc/chrony.conf):

    ~(keystone_admin)$ refclock PHC /dev/ptp0 poll 3 dpoll -2 offset 0
  3. Restart the chronyd service:

    ~(keystone_admin)$ systemctl restart chronyd.service
  4. Confirm that the device is in the list of time sources:

    ~(keystone_admin)$ systemctl restart chronyd.service