One of the best things about running Windows 11 in a virtualized environment is that you can try applications and new features, or just have a separate workspace, without interfering with your day-to-day computer. KVM (between Kernel Virtual Machine) is a powerful virtualization software integrated directly into the Linux kernel which acts as a hypervisor, and Virt-Manager is an easy-to-use desktop environment for managing virtual machines. In this guide we are going to work through the steps to create a Windows 11 virtual machine using virt-manager on a KVM host. Every step here was verified on a current KVM host running virt-manager with libvirt/QEMU and OVMF (UEFI) firmware in June 2026.
Pre-requisites
With all the prerequisites met, let’s proceed to start configuration of the VM.
Choose installation type
Since we are installing Windows 11 from an ISO image, we’ll choose the Local Installation option.

Choose ISO installation media
Browse to the Windows 11 ISO and select it or provide the direct path:

Memory and CPU Settings
Set the amount of host memory and virtual CPUs that will be assigned to the guest virtual machine. I’ll set the guest memory to 8 GiB and the virtual CPUs to 4. You can, however, change this based on your RAM and CPU availability.

Storage Settings
Set the disk image size for the virtual machine. The disk image that is created will be of the type QCOW2, which is a copy-on-write format. Since the minimum disk space required to install Windows 11 is 64GiB, let’s assign 80GiB.

VM Name Settings
This is the final configuration screen of the Virtual Machine Creation Wizard. Give the guest virtual machine a name.

Also, ensure to check the box that says Customize configuration before install. Click the Finish button to finish the wizard and proceed to the advanced options.
Configure Chipset and Firmware
In the Overview section, set the chipset to Q35 and pick a UEFI firmware. The dropdown lists several UEFI entries; choose the one built for Secure Boot with Microsoft keys enrolled (its path contains secboot or .ms, for example OVMF_CODE_4M.ms.fd). Windows 11 requires Secure Boot, and only the enrolled-keys firmware lets it validate, so a plain UEFI entry is not enough. The Q35 chipset natively supports PCIe and provides improved PCI-E pass-through support.

The UEFI firmware option, on the other hand, enables Secure Boot, which is required for Windows 11. When using the UEFI firmware, you can take internal snapshots while the guest is shut down but not while it is running.
Enable CPU Host-Passthrough
Select the CPUs section in the left panel and make sure that host-passthrough is enabled.

When the mode is set to host-passthrough, the host CPU’s model and features are exactly passed on to the guest virtual machine. This causes the virtual machine to run close to the host’s native speed.
Configure the Storage
Click on SATA Disk 1 from the left panel. Change the disk bus from SATA to VirtIO. VirtIO is preferred as it is specifically designed for virtualization.
Set the cache mode to none where the host page cache is bypassed, and I/O occurs directly between the hypervisor user space buffers and the storage device. In terms of performance, it is equivalent to direct disk access on your host.
Set the discard mode to unmap. When set to unmap, the qcow2 disk image will automatically shrink to reflect any newly freed space, such as from deleted files.

Mount the VirtIO-Win.ISO Image
VirtIO drivers are para-virtualized drivers for KVM guests. Unfortunately, Microsoft does not provide these drivers out of the box. When installing a Microsoft Windows virtual machine, you must install certain VirtIO drivers.
As a result, you must mount the virtio-win.iso image file, which contains the VirtIO drivers for Windows. To mount this VirtIO image file, we must add a second CDROM.
Click the Add Hardware, then select CDROM device as the Device type and mount the virtio-win.iso image file. Click Finish.

Configure Virtual Network Interface
Click on NIC and change the device model to virtio. The network VirtIO driver is specifically designed and optimized for virtualization. As a result, there will be no processing overhead, and the performance of the guest virtual machine will naturally improve.

Configure Trusted Platform Module(TPM)
TPM technology is designed to provide hardware-based, security-related functions and Windows 11 requires TPM version 2.0.
- Type: Emulated
- Model: CRB
- Version: 2.0

Now that all the virtual hardware settings are in place, one step is left before the installer can start.
Set the Boot Order
UEFI firmware only boots a device that is enabled and sitting first in the boot list. If the empty virtual disk stays on top, the firmware finds no operating system there and never reaches the installation media. Click Boot Options in the left panel, tick Enable boot menu, then check the SATA CDROM holding the Windows 11 ISO and move it to the top of the list with the up arrow.
Click Apply, then Begin Installation.
On the first boot you may land on a black TianoCore screen that reads “No bootable option or device was found” followed by “Press any key to enter the Boot Manager Menu”. That means the firmware tried the empty disk first because the install media was not at the top of the boot order.

Press a key to open the Boot Manager Menu and choose the UEFI QEMU DVD-ROM entry (the Windows 11 ISO) to start Setup. To stop it happening again, shut the VM down and move the install media to the top under Boot Options. With the order fixed, Setup loads straight away and the rest of the install continues below.
Install Windows 11 VM with VirtIO Drivers
After clicking on begin installation, the Windows Installer begins. On the screen that appears, choose your language, time and currency format, and keyboard from the list of available options. Then click on the Next button.

Select your keyboard from the list then click Next.

Choose Install Windows 11 on the next screen and agree to the deletion of everything including files, apps, and settings.

The Windows activation screen will appear. Provide a product key if you have one, otherwise, click I don’t have a product key.

Choose the Windows version you want to install. In our case, we’ll be installing Windows 11 Home.

Accept the license terms to proceed.

Now select the disk on which Windows 11 will be installed, but since we selected VirtIO disk bus, it is not natively recognized by Windows and the drivers must be installed manually.

To install the VirtIO disk driver, click Load driver, then Browse, go to CD Drive (E:)→Viostor→w1→amd64, and click OK.

Then select Red Hat VirtIO SCSI Controller and click Install.

The disk is now visible after installing the VirtIO disk driver.

Before we can proceed with the installation, we need to install the VirtIO Network driver. Click Load driver again, then Browse, go to CD Drive (E:)→NetKVM→w11→amd64, and click OK.

Select Red Hat VirtIO Ethernet Adapter then click Install.

After installing the VirtIO network device driver, click Next to proceed. The installer loads a bit and let’s you know that Windows is ready to install.

Click on Install to begin Installing Windows 11.

The installation may take a while to complete and the VM might restart a couple of times.

Allow all the updates to complete.

When the install is done, proceed with the personalized configurations for the next few steps to fit your requirements.

When done with the personalized configurations Windows will get things ready for you. Be patient and wait.

When it’s done, your device will load up and you can start using it.

Configure VirtIO Guest Tools
The last step is to install VirtIO Windows Guest Tools. The package includes some optional drivers and services that will boost SPICE performance and integration. This includes the QXL video driver as well as the SPICE guest agent for copy and paste, automatic resolution switching, and other features.
Open Windows Explorer and navigate to the CD Drive (E:), and double-click the virtio-win-guest-tools application to install it.
Agree to the License Agreement then click Install.

Wait for the installation to complete to proceed.

After installing the guest tools, on the Windows-11 KVM window, click View, Scale Display, and check the ‘Auto resize VM with window‘ option. This will enable the Windows 11 guest window to automatically resize as you scale it.

You are now done with the installation of Windows 11, shut the VM down to unmount the Windows 11 ISO installer and the VirtIO ISO image as well.

Everything is now ready, enjoy your Windows 11 VM.
Hello. Testing with Windows 11 v. 25H2, or if you joined the Insider program, v. 26H2 as preview, I found that few of the instructions became obsolete.
– Memory | RAM is by default 8192 MiB while 4096 MiB is still valid so I would recommend it.
– Storage | QCOW2 disk storage is by default 128 GiB while 64 GiB is still valid so I would recommend it.
– CPU | Rather unselect the “Copy host CPU configuration (host-passthrough)” option, then select “host-passthrough” model, select “Enable available CPU’s security flaw mitigations”
– SATA CD-ROM | The addition of a read-only SATA CD-ROM storage device is an unnecessary operation as the disk image (ISO 9660 CD-ROM filesystem data) is there already correctly mounted.
– TPM | When TPM v. 2.0 is enabled on host, correct version option is ‘hypervisor default’.
Overview | Firmware option | The change can be seen for UEFI. Regardless the selection of the UEFI option (there are nine of them on my machine) -“UEFI” is valid-, none of them are validated by the installer. Instead when starting the installer, there a selection window presented with options:
“Please select boot device
UEFI QEMU HARDDISK QM00001
UEFI QEMU DVD-ROM QM00003
EFI Firmware Setup
UEFI PXEv4 (MAC:)
UEFI PXEv6 (MAC:)
UEFI HTTPv4 (MAC:)
UEFI HTTPv6 (MAC:)”
None of the options is validated, therefore Windows won’t be installed. That’s how it is, on my machine at least. Regards.
Thanks, genuinely useful feedback. The install failure is a boot-order issue: with UEFI the firmware boots whatever device sits first, so if the empty disk stays on top it drops to the TianoCore “No bootable option or device was found” / Boot Manager screen and Setup never starts. The fix is to open Boot Options in the customize view, enable the boot menu, and move the SATA CDROM holding the Windows 11 ISO to the top before Begin Installation; if you already hit the menu, pick the UEFI QEMU DVD-ROM entry. I have added a “Set the Boot Order” step and that screenshot to the guide. On the firmware dropdown, choose the Secure Boot entry with Microsoft keys enrolled (the secboot/.ms OVMF path), since Windows 11 only validates Secure Boot with the enrolled-keys firmware. For TPM, emulated CRB 2.0 is the right choice; passing the host TPM through ties the VM to that host and breaks snapshots and migration.