From 5c86821a87604ffa5004511624312714705db8bf Mon Sep 17 00:00:00 2001
From: Roman Bogorodskiy 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:
# 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
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">