android - 有没有办法在通过谷歌云平台运行的 Windows Server 2019 上启用 VT-X

标签 android google-cloud-platform google-compute-engine windows-server-2019

我正在尝试将 Android 模拟器 MEMU 安装到在 Google Cloud Platform 上运行的 Windows Server 2019 实例上。每当我尝试启动模拟器时,启动器都会停在 59%。我做了一些研究,发现我需要启用英特尔的虚拟化技术。但是,似乎启用 VT-X 的唯一方法是进入 BIOS 并执行此操作。由于我是通过远程桌面连接到机器的,所以这是不可能的。来自这篇文章:Running Bluestacks on AWS or Google cloud ,回答问题的人好像会用MEMU。此外,我尝试启用 Hyper-V,这允许模拟器达到 99%。感谢任何有关如何在谷歌云平台上运行 MEMU 的帮助。

最佳答案

看看 system requirements of MEmu :

  • x86/x86_64 Processor (Intel or AMD CPU)
  • WinXP SP3 / Win7 / Win8 / Win8.1 / Win10
  • Windows DirectX 11 / Graphic driver with OpenGL 2.0
  • Hardware Virtualization Technology (Intel VT-x/AMD-V) shall be enabled in BIOS
  • Minimum 2GB of system memory
  • Minimum 2GB of hard disk free space

It’s not recommended to run MEmu App Player in another virtual machine software.

正如 @Morrison Chang 所提到的,您无法在 Windows VM 中使用嵌套虚拟化,您可以在文档中找到更多详细信息 Enabling Nested Virtualization for VM Instances :

Nested virtualization adds support for Intel VT-x processor virtualization instructions to Compute Engine VMs. Using nested virtualization, you start a VM instance as normal on Compute Engine and then install a KVM-compatible hypervisor on the VM instance so you can run another VM instance on top of that hypervisor. You can use nested virtualization on any Linux VM instance running on a Haswell or newer platform. For other constraints, see the sub-section, restrictions for nested virtualization.

Restrictions

Windows VMs do not support nested virtualization; that is, host VMs must run a Linux OS. However, nested VMs can run certain Windows OSes (described below).

要解决您的问题,您可以提交 feature requestGoogle Issue Trackerthis component 下并要求为 Windows VM 提供 VT-x 支持。

此外,作为一种可能的解决方法,您可以检查 Google Cloud Marketplace并搜索可用的安卓模拟器,但它们可能是非免费的。

更新

主题如 Running Bluestacks on AWS or Google cloud Stack Overflow 或其他非官方资源不应被视为未记录的特性、功能或解决方法的证据。如我所见,@Artem Ibragimov 尝试了 AWS 和 GCE 但毫无结果,@CodeGuru 也没有提供有关他成功使用哪个云平台的任何信息:

Bluestack doesn't work for me too. I saw Cognosys but they are running on Windows Server 2012 which is really old.

Try Memu Play 2GB Ram Minimum (Try the 4GB VPS) Windows Server 2019 Base DirectX

It works for me

关于android - 有没有办法在通过谷歌云平台运行的 Windows Server 2019 上启用 VT-X,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60985222/

相关文章:

ssl - 使用 Kubernetes 服务处理 TLS LetsEncrypt 的良好实践

mysql - 在 Google Compute Engine 上将 Google Cloud SQL 与 Wordpress 连接

linux - GCE 实例在一段时间后挂起

google-app-engine - 如何在日志查看器中查看托管 VM 的 JSON 日志?

android - 连接到服务器时 flutter 'HttpException: Failed to parse http'

android - 是否可以使用 AndroidAnnotations 注入(inject)模拟以进行测试?

postgresql - 无法连接 psql : SSL error: invalid padding

google-cloud-platform - Dataproc 作业从另一个项目存储桶读取

java - 解析错误 : Parse#enableLocalDatastore(Context )` must be invoked before ` Parse#initialize(Context)`

android - 如何在RecyclerView之间随机放置广告?