更新:

更新:

我的硬件配置如下:

  • 处理器:AMD FX-8120(赞比西河)
  • 主板:华硕 M5A88-M
  • 操作系统:Windows 8.1
  • 内存:4GB DDR3

我安装了 Genymotion,它为 Android 创建了一个虚拟机。但是,每当我尝试启动机器时,它都显示只能使用一个 CPU,因为硬件虚拟化不可用。

这是 Virtualbox 的屏幕截图

硬件可视化不可用

我认为此 CPU 和主板支持硬件虚拟化。我是否遗漏了任何设置?

如何让 VirtualBox 使用更多的 CPU?

更新:

这是 coreinfo 的输出

AMD FX(tm)-8120 Eight-Core Processor           
AMD64 Family 21 Model 1 Stepping 2, AuthenticAMD
Microcode signature: 06000629
HTT         *   Multicore
HYPERVISOR  *   Hypervisor is present
VMX         -   Supports Intel hardware-assisted virtualization
SVM         -   Supports AMD hardware-assisted virtualization
X64         *   Supports 64-bit mode

SMX         -   Supports Intel trusted execution
SKINIT      -   Supports AMD SKINIT

NX          *   Supports no-execute page protection
SMEP        -   Supports Supervisor Mode Execution Prevention
SMAP        -   Supports Supervisor Mode Access Prevention
PAGE1GB     -   Supports 1 GB large pages
PAE         *   Supports > 32-bit physical addresses
PAT         *   Supports Page Attribute Table
PSE         *   Supports 4 MB pages
PSE36       *   Supports > 32-bit address 4 MB pages
PGE         *   Supports global bit in page tables
SS          -   Supports bus snooping for cache operations
VME         *   Supports Virtual-8086 mode
RDWRFSGSBASE    -   Supports direct GS/FS base access

FPU         *   Implements i387 floating point instructions
MMX         *   Supports MMX instruction set
MMXEXT      *   Implements AMD MMX extensions
3DNOW       -   Supports 3DNow! instructions
3DNOWEXT    -   Supports 3DNow! extension instructions
SSE         *   Supports Streaming SIMD Extensions
SSE2        *   Supports Streaming SIMD Extensions 2
SSE3        *   Supports Streaming SIMD Extensions 3
SSSE3       *   Supports Supplemental SIMD Extensions 3
SSE4a       *   Supports Streaming SIMDR Extensions 4a
SSE4.1      *   Supports Streaming SIMD Extensions 4.1
SSE4.2      *   Supports Streaming SIMD Extensions 4.2

AES         *   Supports AES extensions
AVX         *   Supports AVX intruction extensions
FMA         -   Supports FMA extensions using YMM state
MSR         *   Implements RDMSR/WRMSR instructions
MTRR        *   Supports Memory Type Range Registers
XSAVE       *   Supports XSAVE/XRSTOR instructions
OSXSAVE     *   Supports XSETBV/XGETBV instructions
RDRAND      -   Supports RDRAND instruction
RDSEED      -   Supports RDSEED instruction

CMOV        *   Supports CMOVcc instruction
CLFSH       *   Supports CLFLUSH instruction
CX8         *   Supports compare and exchange 8-byte instructions
CX16        *   Supports CMPXCHG16B instruction
BMI1        -   Supports bit manipulation extensions 1
BMI2        -   Supports bit manipulation extensions 2
ADX         -   Supports ADCX/ADOX instructions
DCA         -   Supports prefetch from memory-mapped device
F16C        -   Supports half-precision instruction
FXSR        *   Supports FXSAVE/FXSTOR instructions
FFXSR       *   Supports optimized FXSAVE/FSRSTOR instruction
MONITOR     -   Supports MONITOR and MWAIT instructions
MOVBE       -   Supports MOVBE instruction
ERMSB       -   Supports Enhanced REP MOVSB/STOSB
PCLMULDQ    *   Supports PCLMULDQ instruction
POPCNT      *   Supports POPCNT instruction
LZCNT       *   Supports LZCNT instruction
SEP         *   Supports fast system call instructions
LAHF-SAHF   *   Supports LAHF/SAHF instructions in 64-bit mode
HLE         -   Supports Hardware Lock Elision instructions
RTM         -   Supports Restricted Transactional Memory instructions

DE          *   Supports I/O breakpoints including CR4.DE
DTES64      -   Can write history of 64-bit branch addresses
DS          -   Implements memory-resident debug buffer
DS-CPL      -   Supports Debug Store feature with CPL
PCID        -   Supports PCIDs and settable CR4.PCIDE
INVPCID     -   Supports INVPCID instruction
PDCM        -   Supports Performance Capabilities MSR
RDTSCP      *   Supports RDTSCP instruction
TSC         *   Supports RDTSC instruction
TSC-DEADLINE    -   Local APIC supports one-shot deadline timer
TSC-INVARIANT   *   TSC runs at constant rate
xTPR        -   Supports disabling task priority messages

EIST        -   Supports Enhanced Intel Speedstep
ACPI        -   Implements MSR for power management
TM          -   Implements thermal monitor circuitry
TM2         -   Implements Thermal Monitor 2 control
APIC        *   Implements software-accessible local APIC
x2APIC      -   Supports x2APIC

CNXT-ID     -   L1 data cache mode adaptive or BIOS

MCE         *   Supports Machine Check, INT18 and CR4.MCE
MCA         *   Implements Machine Check Architecture
PBE         -   Supports use of FERR#/PBE# pin

PSN         -   Implements 96-bit processor serial number

PREFETCHW   *   Supports PREFETCHW instruction

Maximum implemented CPUID leaves: 0000000D (Basic), 8000001E (Extended).

Logical to Physical Processor Map:
**------  Physical Processor 0 (Hyperthreaded)
--**----  Physical Processor 1 (Hyperthreaded)
----**--  Physical Processor 2 (Hyperthreaded)
------**  Physical Processor 3 (Hyperthreaded)

Logical Processor to Socket Map:
********  Socket 0

Logical Processor to NUMA Node Map:
********  NUMA Node 0

No NUMA nodes.

Logical Processor to Cache Map:
*-------  Data Cache          0, Level 1,   16 KB, Assoc   4, LineSize  64
**------  Instruction Cache   0, Level 1,   64 KB, Assoc   2, LineSize  64
**------  Unified Cache       0, Level 2,    2 MB, Assoc  16, LineSize  64
********  Unified Cache       1, Level 3,    8 MB, Assoc  64, LineSize  64
-*------  Data Cache          1, Level 1,   16 KB, Assoc   4, LineSize  64
--*-----  Data Cache          2, Level 1,   16 KB, Assoc   4, LineSize  64
--**----  Instruction Cache   1, Level 1,   64 KB, Assoc   2, LineSize  64
--**----  Unified Cache       2, Level 2,    2 MB, Assoc  16, LineSize  64
---*----  Data Cache          3, Level 1,   16 KB, Assoc   4, LineSize  64
----*---  Data Cache          4, Level 1,   16 KB, Assoc   4, LineSize  64
----**--  Instruction Cache   2, Level 1,   64 KB, Assoc   2, LineSize  64
----**--  Unified Cache       3, Level 2,    2 MB, Assoc  16, LineSize  64
-----*--  Data Cache          5, Level 1,   16 KB, Assoc   4, LineSize  64
------*-  Data Cache          6, Level 1,   16 KB, Assoc   4, LineSize  64
------**  Instruction Cache   3, Level 1,   64 KB, Assoc   2, LineSize  64
------**  Unified Cache       4, Level 2,    2 MB, Assoc  16, LineSize  64
-------*  Data Cache          7, Level 1,   16 KB, Assoc   4, LineSize  64

Logical Processor to Group Map:
********  Group 0

答案1

根据规格,该处理器特别支持 AMD-V,但上面 Coreinfo 的输出显示它不支持。

由于您已经检查了 BIOS 中的虚拟化选项,请尝试将 BIOS 刷新到较新的版本。我查看了华硕的网站,上面说主板仅支持 BIOS 修订版 0801 或更高版本的 FX-8120。检查您的修订版。您当前的 BIOS 可能不完全支持该处理器型号。

答案2

我终于找到了解决方案,但它有点奇怪。

正如 Hennes 在评论中所建议的,必须解决“安全虚拟机模式”选项。这里真正的难点是我必须禁用该选项。在安全虚拟机模式下,此 BIOS 只允许为虚拟机分配一个 CPU。禁用该选项后,我可以分配更多 CPU。

我不确定这是否是处理该问题的正确方法。但是它启用了滑块,我可以分配更多 CPU,但我不确定这是否是正确的方法。有关此问题的建议/更多详细信息对我和其他人都非常有用。

相关内容