FreeBSD 12 and 13, like Linux, both fully support VirtIO

Treat FreeBSD like Linux for basic optimisation.
This commit is contained in:
Martin Wimpress 2021-10-07 20:29:47 +01:00
parent 1adf80a42e
commit 4d8e619988
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ function vm_boot() {
# Make any OS specific adjustments
case ${guest_os} in
linux)
freebsd|linux)
CPU="-cpu host,kvm=on"
if [ "${HOST_CPU_VENDOR}" == "AuthenticAMD" ]; then
CPU="${CPU},topoext"