sudo apt-get install qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils virt-manager
sudo systemctl enable libvirtd.service
https://www.microsoft.com/nb-no/software-download/windows10ISO
sudo virt-manager
- Select: Create new virtual machine
- Step 1: Select : "Local install media (ISO image)
- Step 2: Provide the path to the downloaded Windows 10 ISO image
- Step 3: Choose memory and CPU settings
- Step 4: Enable storage for this virtual machine. Choose the size of the disk image
- Step 5: Choose the name of the machine, and click "Finish"
From the Windows 10 VM, open Edge web browser and download spice guest tools from
https://www.spice-space.org/download/windows/spice-guest-tools/spice-guest-tools-latest.exe
Then install the guest tools.
- Use CTRL-C and CTRL-V to copy and paste between the host Ubuntu machine and the guest Windows 10 VM.
This works with Windows 10 guest and Fedora host, but it does not work for Windows 11 guest on the same Fedora host. I even checked that 'Spice server' was set for Windows 11 in Virtual Machine Manager under Display Spice. The VirtIO Windows Guest Tools are also installed.