From 5965c4f3e2262e1b4512e54158abf230166006fd Mon Sep 17 00:00:00 2001 From: Roman Bogorodskiy Date: Sun, 19 Jul 2015 11:20:36 +0300 Subject: [PATCH] docs: bhyve: document clock configuration --- docs/drvbhyve.html.in | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/docs/drvbhyve.html.in b/docs/drvbhyve.html.in index 5479511e4b..485b05154d 100644 --- a/docs/drvbhyve.html.in +++ b/docs/drvbhyve.html.in @@ -250,5 +250,33 @@ attempt to boot from the first partition in the disk image.

Caveat: bootloader_args does not support any quoting. Filenames, etc, must not have spaces or they will be tokenized incorrectly.

+

Clock configuration

+ +

Originally bhyve supported only localtime for RTC. Support for UTC time was introduced in +r284894 for 10-STABLE and +in r279225 for -CURRENT. +It's possible to use this in libvirt since 1.2.18, just place the +following to domain XML:

+ +
+<domain type="bhyve">
+    ...
+    <clock offset='utc'/>
+    ...
+</domain>
+
+ +

Please note that if you run the older bhyve version that doesn't support UTC time, you'll +fail to start a domain. As UTC is used as a default when you do not specify clock settings, +you'll need to explicitly specify 'localtime' in this case:

+ +
+<domain type="bhyve">
+    ...
+    <clock offset='localtime'/>
+    ...
+</domain>
+
+ -- GitLab