jail-task-driver icon indicating copy to clipboard operation
jail-task-driver copied to clipboard

bhyve support

Open cneira opened this issue 4 years ago • 2 comments

It would be nice to be able to orchestrate bhyve instances and run them inside jails.

cneira avatar Sep 07 '20 23:09 cneira

What makes you believe this isn't possible? FreeBSD can expose vmm(4), tap(4), etc. devices and slightly loosen the isolation provided by jails allowing bhyve to run inside a jail, but starting and stopping bhyve isn't the hard part. Hooking the bhyve guests up to the correct network and storage is the hard part that's only theoretically possible using jail hooks.

Crest avatar Jul 21 '23 16:07 Crest

What makes you believe this isn't possible? FreeBSD can expose vmm(4), tap(4), etc. devices and slightly loosen the isolation provided by jails allowing bhyve to run inside a jail, but starting and stopping bhyve isn't the hard part. Hooking the bhyve guests up to the correct network and storage is the hard part that's only theoretically possible using jail hooks.

@Crest I just stated that would be nice to have, and help is wanted to code the needed part. Now the situation is better as bhyve can run in jails with ppt.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251046

cneira avatar Jul 21 '23 20:07 cneira