Hyper-v虚拟化开启混杂模式支持KVM嵌套

打开 Windows PowerShell

Set-VMProcessor -ExposeVirtualizationExtensions $true -VMName 虚拟机名称

查看是否启用成功

Get-VMProcessor -VMName 虚拟机名称 | fl

//查看是否为true ExposeVirtualizationExtensions:true

开启混杂功能

Get-VM -Name 虚拟机名称 | Get-VMNetworkAdapter

//返回网卡mac地址(一串数字) 如果多个网卡,请一起把mac地址复制下来

Get-VM -Name 虚拟机名称 | Get-VMNetworkAdapter | Where-Object { $_.MacAddress -eq "MAC地址" } | Set-VMNetworkAdapter -MacAddressSpoofing On

//执行 如果没报错设置完成

 

上一篇 KVM系统开启嵌套虚拟化
下一篇 短视频自媒体圈大事:企鹅号“黎明计划”犯众怒
Xuan

Xuan管理员

为生活而理想 为理想而生活

本月创作热力图