Re: embedded emulation: bhyve + vt-x on amd fx-8320
Date: Wed, 26 Apr 2023 20:14:51 UTC
hi, answer as usually late, but you can check procesor virtualisation flags with command: For Linux:egrep -wo 'vmx|ept|vpid|npt|tpr_shadow|flexpriority|vnmi|lm|aes' /proc/cpuinfo | sort | uniq; egrep -wo 'vmx|lm|aes' /proc/cpuinfo | sort | uniq | sed -e 's/aes/Hardware encryption=Yes (&)/g' -e 's/lm/64 bit cpu=Yes (&)/g' -e 's/vmx/Intel hardware virtualization=Yes (&)/g'aeseptflexprioritylmtpr_shadowvmxvnmivpidHardware encryption=Yes (aes)64 bit cpu=Yes (lm)Intel hardware virtualization=Yes (vmx)On Freebsd:egrep -woi 'vmx|ept|vpid|npt|tpr_shadow|flexpriority|vnmi|lm|aes' /var/run/dmesg.boot | sort | uniq; egrep -woi 'vmx|lm|aes' /var/run/dmesg.boot | sort | uniqAESEPTLMVMXVPIDAESLMVMX this is for intel, amd has it's own implementation for bot. Basically *VMX* is minimum, the extended page support - *EPT *is second most important not minimum but most modern hypervisors like bhyve also need this one. i believe for amd you are looking for *AMD-v* *SVM *but rather verify if correct acronyms. i believe Many Regards Jan Jurák On Wed, Apr 26, 2023 at 7:52 PM Tomek CEDRO <tomek@cedro.info> wrote: > On Wed, Apr 26, 2023 at 4:56 PM Gregory Byshenk wrote: > > On Mon, Apr 24, 2023 at 11:53:02AM +0200, Tomek CEDRO wrote: > > > Thanks Pete, this is my main question if bhyve / vbox / kernel > > > supports it at all :-) > > > > From my experience it does. > > Some time back I upgraded the CPUs on an HP Z800 because the > > original ones did not support VT-D. Then I had to enable that > > in the BIOS. > > But afterwards I was able to run a rancher cluster under bhyve > > to play with. it was only a toy, but it worked. > > Thank you Greg. I see no Virtualization settings in my BIOS. Probably > the hardware is too old for that and need an upgrade after 10 years > :-) Thank you for the confirmation! :-) > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > >