aboutsummaryrefslogtreecommitdiff
path: root/vmm/machine/coeus/run
diff options
context:
space:
mode:
Diffstat (limited to 'vmm/machine/coeus/run')
-rwxr-xr-xvmm/machine/coeus/run16
1 files changed, 16 insertions, 0 deletions
diff --git a/vmm/machine/coeus/run b/vmm/machine/coeus/run
new file mode 100755
index 0000000..a3054b8
--- /dev/null
+++ b/vmm/machine/coeus/run
@@ -0,0 +1,16 @@
+#!/bin/sh
+name=coeus
+id=0
+mem=4096
+ncpu=4
+fbw=1024
+fbh=768
+bhyve -AHPw -s0:0,hostbridge \
+ -s1:0,lpc \
+ -s2:0,virtio-net,tap$id \
+ -s3:0,virtio-blk,/dev/zvol/zroot/${name}disk \
+ -l com1,/dev/nmdm${id}A \
+ -s29,fbuf,tcp=127.0.0.1:$((5900+$id)),w=$fbw,h=$fbh \
+ -s30,xhci,tablet \
+ -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
+ -c $ncpu -m $mem $name >>/vmm/machine/$name/log/out 2>>/vmm/machine/$name/log/err