bhyve Windows Server 2012 via Bhyve keep crashes

Hello. I'm using bhyve on FreeBSD 12.1. but if i start Windows Server 2012 R2 or other vms, It works but it crashes after 1~2 hours automatically. I'm using ZFS. my hdd images are at /root/vms and I made it with truncate -S 32G vm_01.img.
Code:
bhyve \
      -c 3 \
      -s 0,hostbridge \
      -s 3,ahci-hd,vm_01.img \
      -s 4,ahci-cd,/root/imgs/opensuse_inst.iso \
      -s 10,virtio-net,tap1 \
      -s 31,lpc \
      -s 29,fbuf,tcp=0.0.0.0:40003,w=1280,h=720,password=821fjdef234 \
      -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI.fd \
      -m 4G -H -w \
      vm1
This is my shell script. I created bridge and connected to NIC and tap. Network works well.
Code:
hostname="freebsd"
ifconfig_alc0="DHCP"
ifconfig_alc0_ipv6="inet6 accept_rtadv"
sshd_enable="YES"
moused_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
zfs_enable="YES"

# Bhyve
kld_list="aesni coretemp vmm if_tap if_bridge bridgestp"

kld_list="/boot/modules/i915kms.ko"
This is my rc.conf. I use i915kms driver.

What solution can i have for crashing?
I booted 2 VMs with 4GB and I have 32G total physical memory.
 
Code:
# Bhyve 
kld_list="aesni coretemp vmm if_tap if_bridge bridgestp" 
kld_list="/boot/modules/i915kms.ko"
This isn't going to work. The second definition of kld_list is going to overwrite the first. The rc.conf file is essentially a script that only contains variables.

Code:
# cat example.sh
#!/bin/sh

var1="FOO"

var1="BAR"

echo $var1
root@armitage:~/test # sh example.sh
BAR
 
This isn't going to work. The second definition of kld_list is going to overwrite the first. The rc.conf file is essentially a script that only contains variables.

Code:
# cat example.sh
#!/bin/sh

var1="FOO"

var1="BAR"

echo $var1
root@armitage:~/test # sh example.sh
BAR
I tried it but same problem. Virtualization Kernel Modules are loaded properly.
 
Back
Top