Date: Wed, 26 Apr 2023 22:50:01 +0200 From: Tomek CEDRO <tomek@cedro.info> To: =?UTF-8?Q?Jan_Jur=C3=A1k?= <yan.jurak@gmail.com> Cc: Gregory Byshenk <freebsd@byshenk.net>, FreeBSD Questions Mailing List <freebsd-questions@freebsd.org>, freebsd-emulation@freebsd.org Subject: Re: embedded emulation: bhyve + vt-x on amd fx-8320 Message-ID: <CAFYkXj=QZXS-yMioLEVPMJdF-uC5Uwj1U5XJUu_EdtA15oayKA@mail.gmail.com> In-Reply-To: <CABiV=xtLaCDGqQTKEhK8hNiAr3TAfnv9KtYDh4zWh9dmqM7Qaw@mail.gmail.com> References: <CAFYkXjng502kFLCuzEepo1dWSF7w-oo2nJagoKh5ShSiR8n3jQ@mail.gmail.com> <CAFYkXjkFEh6r%2B%2BiE7GmQuaxUN6LJvYM13ttnp1tHW-22bugGHw@mail.gmail.com> <1033603027.10889563.1682198162191.JavaMail.zimbra@shaw.ca> <CAFYkXjnS5Ln=QDQADHv8%2B07NsaKwgamhSkb8qFDERg8RQz0-ZQ@mail.gmail.com> <zmood3bqlrxenkekdyffsufoxw4iazqvwp6upz5jqy4n2pacm3@4qhgwvam4j2x> <CAFYkXjkys2g2mfd4PP4LWWXBq5ccSmk%2BSGwOYyAUqreS8=wmCw@mail.gmail.com> <ZEk7lyQtOVvIgUs9@v1.leiden.byshenk.net> <CAFYkXjmitPpWWRTSAxUVLf7gQNM2iDiNSYFoHkQ_tNK-s5foJg@mail.gmail.com> <CABiV=xtLaCDGqQTKEhK8hNiAr3TAfnv9KtYDh4zWh9dmqM7Qaw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 26, 2023 at 10:15=E2=80=AFPM Jan Jur=C3=A1k wrote: > answer as usually late, but you can check procesor virtualisation flags w= ith command: > (..) > On Freebsd: > > egrep -woi 'vmx|ept|vpid|npt|tpr_shadow|flexpriority|vnmi|lm|aes' /var/ru= n/dmesg.boot | sort | uniq; egrep -woi 'vmx|lm|aes' /var/run/dmesg.boot | s= ort | uniq > > AES > EPT > LM > VMX > VPID > AES > LM > VMX > > 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 m= inimum 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 corr= ect acronyms. Thanks Jan.. I also found dmidecode very useful to find lots of information about the host hardware.. flags are not there.. just curious why this virtual machine in virtual machine worked on windoze o_O Handle 0x0004, DMI type 4, 42 bytes Processor Information Socket Designation: Socket 942 Type: Central Processor Family: FX Manufacturer: AMD ID: 20 0F 60 00 FF FB 8B 17 Signature: Family 21, Model 2, Stepping 0 Flags: FPU (Floating-point unit on-chip) VME (Virtual mode extension) DE (Debugging extension) PSE (Page size extension) TSC (Time stamp counter) MSR (Model specific registers) PAE (Physical address extension) MCE (Machine check exception) CX8 (CMPXCHG8 instruction supported) APIC (On-chip APIC hardware supported) SEP (Fast system call) MTRR (Memory type range registers) PGE (Page global enable) MCA (Machine check architecture) CMOV (Conditional move instruction supported) PAT (Page attribute table) PSE-36 (36-bit page size extension) CLFSH (CLFLUSH instruction supported) MMX (MMX technology supported) FXSR (FXSAVE and FXSTOR instructions supported) SSE (Streaming SIMD extensions) SSE2 (Streaming SIMD extensions 2) HTT (Multi-threading) Version: AMD FX(tm)-8320 Eight-Core Processor Voltage: 1.4 V External Clock: 200 MHz Max Speed: 3600 MHz Current Speed: 3600 MHz Status: Populated, Enabled Upgrade: Socket AM3 L1 Cache Handle: 0x0005 L2 Cache Handle: 0x0006 L3 Cache Handle: 0x0007 Serial Number: To Be Filled By O.E.M. Asset Tag: To Be Filled By O.E.M. Part Number: To Be Filled By O.E.M. Core Count: 8 Core Enabled: 8 Thread Count: 8 Characteristics: 64-bit capable --=20 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYkXj=QZXS-yMioLEVPMJdF-uC5Uwj1U5XJUu_EdtA15oayKA>