add bhyve start script for win10 because libvirt crashes

This commit is contained in:
mykola2312 2024-09-06 09:19:51 +03:00
parent 6145ac109e
commit c2cb4e5152
2 changed files with 22 additions and 0 deletions

3
bhyve/win10-stop.sh Normal file
View file

@ -0,0 +1,3 @@
#!/bin/sh
bhyvectl --vm=win10 --destroy

19
bhyve/win10.sh Executable file
View file

@ -0,0 +1,19 @@
#!/bin/sh
bhyve \
-c 2 \
-s 0,hostbridge \
-s 3,virtio-scsi,/var/lib/libvirt/images/win10.img \
-s 4,ahci-cd,/home/mykola/iso/win10-eagle123.iso \
-s 5,ahci-cd,/home/mykola/iso/virtio-win-0.1.215.iso \
-s 10,virtio-net,tap0 \
-s 15,fbuf,rfb=127.0.0.1:5900,w=1366,h=768 \
-s 31,lpc \
-l com1,/dev/nmdm0A \
-l com2,/dev/nmdm1A \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
-m 6144M \
-H \
-w \
win10