Wener Site

嵌套虚拟化

约 1 分钟阅读
  • VMCS shadowing
    • VMCS - virtual machine control structure
    • 2013 intel Haswell 硬件加速
  • Nested virtualizationWikipediaNested virtualizationVMCS shadowing · VMCS - virtual machine control structure · 2013 intel Haswell 硬件加速 · Nested virtualization · Nested Guests笔记:嵌套虚拟化

KVM

  • Nested GuestsLinkwww.linux-kvm.org/page/Nested_GuestsVMCS shadowing · VMCS - virtual machine control structure · 2013 intel Haswell 硬件加速 · Nested virtualization · Nested Guests笔记:嵌套虚拟化
    • 当启动了嵌套虚拟机后,在未关闭嵌套的虚拟机之前,上层虚拟机无法迁移、保存、加载
bash
# intel
cat /sys/module/kvm_intel/parameters/nested
# amd
cat /sys/module/kvm_amd/parameters/nested

# 启用
modprobe kvm_intel nested=1
# 如果已经加载过需要先移除
modprobe kvm_intel -r
# /etc/modprobe.d/kvm.conf
# options kvm_intel nested=1

HyperV

  • 要求
    • Windows Server 2016+, Windows 10+
    • Hyper-V VM 8+
    • Intel VT-x,EPT
    • AMD 目前不支持
powershell
# ExposeVirtualizationExtensions 表示是否开启
Get-VMProcessor -VMName vm_name | fl *
# 开启
Set-VMProcessor -VMName vm_name -ExposeVirtualizationExtensions $true

关联信息

反向链接和本文引用的外部资料。

References

Wikipedia

1 条

其他外链

2 条
最近更新commit f5e9e23Edit

On this page