「VirtualBox」- 常见问题处理

  CREATED BY JENKINSBOT

虚拟机嵌套(在虚拟机中运行虚拟机)

virtualization – Virtualbox enable nested vtx/amd-v greyed out – Stack Overflow
How To Enable Nested Virtualization In VirtualBox – OSTechNix

开启嵌套特性:

# 如果 System => Processer => Enable Nested VT-x/AMD-V 灰色,则执行:
VBoxManage modifyvm "Virtual Machine Name" --nested-hw-virt on           

验证开启成功:

# Linux
egrep --color -i "svm|vmx" /proc/cpuinfo

# Windows
# 通过 Sysinternals 的 Coreinfo 命令,显示 SVM 与 VMX 标识;

已知问题

Q:VirtualBox on Linux, Guest Windows 10, 通过虚拟机嵌套,在 Windows 10 中启动 VirtualBox 导致 Windows 10 卡住不动;
A:(1)配置 System / Acceleration Paravirtualization Interface: None 即可;(2)我们同时在 Guest Windows 10 中执行 bcdedit /set hypervisorlaunchtype off 命令,但并不能确定与此相关;

界面配置(GUI Configuration)

qt – How do I set default font for all Qt5 applications? – Unix & Linux Stack Exchange

目前(VirtualBox 7)并未提供 GUI 的更多精细化配置,诸如 字体配置 等等;

但是,某些 GUI 框架支持通过环境变量控制应用配置。而 VirutalBox 基于 Qt 开发,我们或许可以针对 Qt 环境进行配置;

针对 Qt5 应用,可以使用 Qt5ct 进行全局应用配置。目前(11/21/2022),我们只想调整 GUI 字体;