emulators/qemu-guest-agent: load required kernel module, fixes #2405

This commit is contained in:
Frank Wall
2021-10-10 23:34:03 +02:00
parent 728b486baa
commit b95b508b0a
2 changed files with 21 additions and 1 deletions
+12 -1
View File
@@ -1,5 +1,16 @@
QEMU Guest Agent for FreeBSD
Port homepage https://github.com/aborche/qemu-guest-agent
WWW: http://wiki.qemu.org/Main_Page
Plugin Changelog
================
1.1
Fixed:
* fix service startup by loading required kernel module (#2405)
1.0
* Initial release
@@ -0,0 +1,9 @@
#!/bin/sh
if kldstat -qn virtio_console.ko; then
echo "qemu-guest-agent: virtio_console already loaded."
elif kldload -q virtio_console.ko; then
echo "qemu-guest-agent: successfully loaded virtio_console."
else
echo "qemu-guest-agent: failed to load virtio_console."
fi