From 5c86821a87604ffa5004511624312714705db8bf Mon Sep 17 00:00:00 2001 From: Roman Bogorodskiy Date: Sun, 4 Oct 2020 06:20:11 +0400 Subject: [PATCH] docs: bhyve: style improvements - Wrap long lines in "domxml-to-native" example so it fits content width, - For changeset revision links, use "FreeBSD changeset rN" or "changeset rN" instead of just "rN" to make it more readable. Signed-off-by: Roman Bogorodskiy Reviewed-by: Andrea Bolognani --- docs/drvbhyve.html.in | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/docs/drvbhyve.html.in b/docs/drvbhyve.html.in index 2e58cc50e2..49d4aa5878 100644 --- a/docs/drvbhyve.html.in +++ b/docs/drvbhyve.html.in @@ -232,8 +232,8 @@ Then virsh console command can be used to connect to the text conso of a guest.

NB: Some versions of bhyve have a bug that prevents guests from booting -until the console is opened by a client. This bug was fixed in FreeBSD -r262884. If +until the console is opened by a client. This bug was fixed in +FreeBSD changeset r262884. If an older version is used, one either has to open a console manually with virsh console to let a guest boot or start a guest using:

@@ -272,7 +272,9 @@ tweak them.

 # virsh -c "bhyve:///system"  domxml-to-native --format bhyve-argv --xml /path/to/bhyve.xml
 /usr/sbin/bhyveload -m 214 -d /home/user/vm1.img vm1
-/usr/sbin/bhyve -c 2 -m 214 -A -I -H -P -s 0:0,hostbridge -s 3:0,virtio-net,tap0,mac=52:54:00:5d:74:e3 -s 2:0,virtio-blk,/home/user/vm1.img -s 1,lpc -l com1,/dev/nmdm0A vm1
+/usr/sbin/bhyve -c 2 -m 214 -A -I -H -P -s 0:0,hostbridge \
+    -s 3:0,virtio-net,tap0,mac=52:54:00:5d:74:e3 -s 2:0,virtio-blk,/home/user/vm1.img \
+    -s 1,lpc -l com1,/dev/nmdm0A vm1
 

Using ZFS volumes

@@ -416,10 +418,11 @@ Make sure you understand the risks associated with this feature before using it.

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:

+FreeBSD changeset r284894 +for 10-STABLE and +in changeset 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">
@@ -443,8 +446,8 @@ you'll need to explicitly specify 'localtime' in this case:

e1000 NIC

-

As of r302504 bhyve -supports Intel e1000 network adapter emulation. It's supported in libvirt +

As of FreeBSD changeset r302504 +bhyve supports Intel e1000 network adapter emulation. It's supported in libvirt since 3.1.0 and could be used as follows:

@@ -497,7 +500,8 @@ be wired and cannot be swapped out as follows:

Since 4.5.0, it's possible to specify guest CPU topology, if bhyve supports that. Support for specifying guest CPU topology was added to bhyve in -r332298 for -CURRENT. +FreeBSD changeset r332298 +for -CURRENT. Example:

 <domain type="bhyve">