可以在 Windows 上安装 KVM 吗?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/28471789/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-08 18:58:12  来源:igfitidea点击:

Can one install KVM on Windows?

windowsvirtualizationkvm

提问by Snziv Gupta

Can one install KVM on a Windows system where Windows will be the host operating system?

可以在 Windows 将作为主机操作系统的 Windows 系统上安装 KVM 吗?

I have searched a lot but every answer is about how one can install Windows as guest on KVM.

我已经搜索了很多,但每个答案都是关于如何在 KVM 上以访客身份安装 Windows。

回答by Alex

No, it does not install on a windows system, because it is a linux kernel module.

不,它不能安装在 Windows 系统上,因为它是一个 linux 内核模块。

回答by DC.Bouygues

KVM is short for Kernel-based Virtual Machine. It's for Linux only. You can use the similar solution - HAXM. It's be supported by Windows 7 (32/64) or higher. You can get details from here: https://github.com/intel/haxm

KVM 是基于内核的虚拟机的缩写。它仅适用于 Linux。您可以使用类似的解决方案 - HAXM。Windows 7 (32/64) 或更高版本支持它。您可以从这里获取详细信息:https: //github.com/intel/haxm

回答by user5299713

There is a similar solution: qemu on windows, but it is said to be quite slow, since it actually emulates on user-level the whole guest machine. Check https://serverfault.com/questions/623294/how-to-speed-up-qemu-on-windows-host.

有一个类似的解决方案:windows 上的 qemu,但据说它很慢,因为它实际上在用户级别模拟了整个客户机。检查 https://serverfault.com/questions/623294/how-to-speed-up-qemu-on-windows-host

回答by Ben Aveling

You can run a linux VM on Windows, and then run most of the KVM toolchain inside it. But the core KVM depends having the Linux kernel running in baremetal. Without that, you're dependent on the qemu emulator, which should work in theory, albeit slowly. In practice, and maybe I didn't try hard enough, it didn't work for me.

您可以在 Windows 上运行 linux VM,然后在其中运行大部分 KVM 工具链。但是核心 KVM 取决于让 Linux 内核在裸机中运行。没有它,你就依赖于 qemu 模拟器,它理论上应该可以工作,尽管速度很慢。在实践中,也许我不够努力,它对我不起作用。

回答by Ben Aveling

Google ported KVM to Windows. The name is misleading. http://github.com/google/Android-emulator-hypervisor-driver-for-amd-processors

Google 将 KVM 移植到 Windows。这个名字有误导性。http://github.com/google/Android-emulator-hypervisor-driver-for-amd-processors

回答by skvery

For Windows, virtualbox is available.

对于 Windows,可以使用 virtualbox。