Fix for vCPU on AMD using bhyve

Status
Not open for further replies.

Mikkel

Dabbler
Joined
Sep 28, 2012
Messages
16
How do I go about adding this fix https://reviews.freebsd.org/D13780 to FreeNAS? Never tried patch management in FreeNAS.

Right now bhyve does not work with more than 1 vCPU if the CPU is AMD. That patch should fix it but I would rather not wait until it trickles down to FreeNAS.
 

Nick2253

Wizard
Joined
Apr 21, 2014
Messages
1,633
You will have to recompile bhyve with the revised code, and then replace the bhyve binary files in FreeNAS.
 

Mikkel

Dabbler
Joined
Sep 28, 2012
Messages
16
You will have to recompile bhyve with the revised code, and then replace the bhyve binary files in FreeNAS.
So a standard recompile in FreeBSD 11.1 and just replace the binaries on the FreeNAS USBs? That was easy :)
 

Nick2253

Wizard
Joined
Apr 21, 2014
Messages
1,633
It might be slightly more complicated than that, I'm not sure what funky things the FreeNAS team may have done to bhyve. One of the dev team might chime in here to give you more details. However, I'm going to go with recompile and drop in :)
 
Status
Not open for further replies.
Top