Today I've played around with Bhyve and vm-bhyve for the first time and I like it very much.

I've used QEMU/KVM for everything until now, but I'm thinkering with switching completely to Bhyve.

The first VM is already up and will be the base for the Dark Blue Raven website.

#bhyve #vmbhyve #freebsd #darkblueraven #hypervisor #virtualization

Lessons learned when using #bhyve in general and -k configfile: everyone hates whitespace at the end of a line and so does bhyve; to successfully configure PCI and LPC devices you have to follow the man pages to the letter; bhyve(8) slightly deviates from bhyve_config(5) it seems; contents of man pages may change, depending on the #freebsd version (surprise!); I’m probably not experienced enough to understand why there is a difference between “normal” PCI devices and LPC devices and why this is reflected in the config syntax and there are very good reasons why (if I remember correctly when I had a look) #vmbhyve chose to use bhyve command line options rather than -k configfile in their source code; the man pages do not always make clear that some bhyve features are experimental (and not compiled in) and reading the FreeBSD handbook is always worthwhile; my system was not unusable due to active ZFS deduplication during my experiments; bhyve appeared to excel in terms of performance, I did not expect that my VM runs so smoothly on a 15+ year old laptop (SSD upgrade only), didn’t try Windows yet though. And after all this I’m still not sure why I’m supposed to bhyvectl —destroy my VMs, like does that free up some resources somewhere? I did note that this makes the device node of the VM in /dev/vmm disappear though.
@gyptazy team #vmbhyve here too, at least until I migrate my stuff on SmolBSD vms ;)

@gyptazy I tried a few when starting off with #FreeBSD , #vmbhyve was, by far, the best solution for me

Out of the available options, I think it's the one that most closely aligns with the #Unix "Do one thing and do it well" philosophy too

I got asked to write about an easy solution to manage VMs on #FreeBSD with #bhyve. For me, it's simply #vmbhyve and here you can find some more information and a quick copy-paste howto!

https://gyptazy.com/howto-managing-vm-on-freebsd-with-bhyve-and-vm-bhyve/

#BSD #RUNBSD #vm #virtualization #howto #opensource

HowTo: Managing VM on FreeBSD with bhyve and vm-bhyve • gyptazy.com - The DevOps geek

The bhyve hypervisor on FreeBSD is an impressive tool that brings lightweight, efficient virtualization capabilities directly into the FreeBSD ecosystem. It's a powerful type 2 hypervisor that allows FreeBSD users to run virtual machines with minimal overhead, making it an excellent choice for those who value performance and stability. I find bhyve especially compelling for

gyptazy.com - The DevOps geek • DevOps, coding, cloud and open source in a geeky way.
There reason why my bhyve guest running slow: vm-bhyve runs the vm with its default cpu configuration (which is 2 cores) and e1000. Read, edit and test are the best way to tune up things. #vmbhyve #bhyve
Just started reading about #bastilleBSD. Correct me if I’m wrong but this is (at the very basic level of course) for #jails what #vmbhyve is for #bhyve? Way easier interface to use these underlying technologies, right?

I wonder what level of effort it would take to add jailed #bhyve support to #vmbhyve.

#FreeBSD

Today, I would like to give thanks for #vmbhyve. It makes creating and maintaining #bhyve VMs on #FreeBSD and #HardenedBSD incredibly easy.

I'm currently setting up an encrypted ephemeral HardenedBSD VM for a penetration test. Create a new VM in two commands:

# vm create -t template_config -s 100G ephemeralvm-01
# vm install -f ephemeralvm-01 name_of_hbsd_iso_to_install

And that's it!