在网上找了一下,大部分不太管用,只需要在安装虚拟机的目录下改一下 ***.vmx 文件就可以了,具体方法如:
把vcpu.hotadd = "TRUE"
改成
vcpu.hotadd = "FALSE"
下面是引用的原文:
网址在:https://www.centos.org/modules/newbb/viewtopic.php?topic_id=35897
> Shutting Down...Running guests on default URI:
I just went through this myself running CentOS 6.2 64-bit under a VMware Workstation 8.0.2 host (Windows-7). If your issue is the same as mine, then this is a bug in the VMware Workstation 8.0.2 BIOS.
See the thread at http://communities.vmware.com/thread/391186?tstart=0 .
In my case, I tried the workaround of changing
vcpu.hotadd = "TRUE"
to
vcpu.hotadd = "FALSE"
in the VMs .vmx file and this solved my issue.
I was even able to start a nested Guest VM after this.
Alternately (if you don't care about getting nested Virtualization working), I found another way to avoid the shutdown issue. I discovered that I could just disable and stop the libvirt-guest service (from the System/Services panel) to avoid the shutdown issue (before I changed the VMware VMs .vmx file).
Good Luck.
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步