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
This is my shell script. I created bridge and connected to NIC and tap. Network works well.
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.
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
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"
What solution can i have for crashing?
I booted 2 VMs with 4GB and I have 32G total physical memory.