【问题标题】:Is it possible to run a windows guest in a linux host on KVM in google cloud nested virtualization?是否可以在谷歌云嵌套虚拟化的 KVM 上的 Linux 主机中运行 Windows 来宾?
【发布时间】:2017-10-19 12:32:33
【问题描述】:

是否可以在谷歌云嵌套虚拟化的 KVM 上的 linux 主机上运行 windows 来宾?

我们知道 Google 现在提供嵌套虚拟化,理论上他们说您可以使用 kvm 管理程序在 linux 主机上运行 linux 来宾,如下面的链接中所述。这是否允许 Windows 访客?

https://cloud.google.com/compute/docs/instances/enable-nested-virtualization-vm-instances

【问题讨论】:

    标签: google-cloud-platform kvm gcp


    【解决方案1】:

    在嵌套虚拟化中,您在嵌套管理程序中运行什么虚拟机(作为第 2 级)并不重要。谷歌说你只能将 Linux 和 KVM 作为嵌套管理程序(级别 1)运行,并且它们不支持级别 1 的 ESXi、Xen 或 Windows。你可以在级别 2 上运行任何你想要的东西,甚至是其他方式无法运行的操作系统在 Google Cloud 中运行。

    【讨论】:

      【解决方案2】:

      L2 的嵌套 Windows 10 正在运行。但是如果你使用 libvirt,你必须启用 HPET/高精度事件计时器(libvirt 添加-no-hpet,并且使用这个标志,你有启动问题)。您可以通过编辑 xml 文件并将<timer name='hypervclock' present='no'/> 更改为<timer name='hypervclock' present='yes'/> 来解决此问题。 对于低于 10 的 windows 版本,这不是必需的。

      【讨论】:

        【解决方案3】:

        此时,文档说:

        Nested virtualization does not currently support Windows instances.
        

        【讨论】:

          猜你喜欢
          • 2020-09-03
          • 2019-05-24
          • 1970-01-01
          • 2020-09-28
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          相关资源
          最近更新 更多