How to Run Windows 10 or 11 as a Virtual Machine on Ubuntu Using KVM/QEMU

A detailed technical guide published on DEV Community explains how to install Windows 10 or 11 inside Ubuntu using KVM, QEMU, libvirt, and virt-manager, eliminating the need for dual-booting. The setup leverages hardware-assisted virtualization through Intel VT-x or AMD-V, along with VirtIO drivers, UEFI firmware, and SPICE display for improved performance. Windows 10 is used as the primary example, though Windows 11 requires additional virtual hardware including TPM 2.0 and Secure Boot-capable UEFI. Notably, Windows 10 reached end of support on October 14, 2025, making Windows 11 the recommended target for new virtual machines going forward. The guide covers the full setup process, from hardware checks and package installation to snapshots, USB passthrough, file sharing, and performance tuning.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in