-device usb-tablet : Prevents mouse cursor drifting and pointer desynchronization. Step 4: Navigate the Windows Setup and Load VirtIO Drivers
Installation methods (overview)
qemu-img create -f qcow2 win8.1.qcow2 40G
Now that we have our virtual disk image, let's boot QEMU with the Windows 8.1 ISO. Run the following command: windows 81 qcow2 install
Once QEMU launches, you'll see the Windows installer. Follow these steps:
Then, use a slightly modified command to boot from the ISO and install Windows onto the .qcow2 image:
: If using Virt-Manager , select "Customize configuration before install". Storage : Change the Disk Bus from SATA/IDE to VirtIO . Network : Set the Device Model to virtio . -device usb-tablet : Prevents mouse cursor drifting and
you need security updates, modern GPU acceleration, or a plug-and-play setup.
Open the folder corresponding to your architecture: viostor -> w8.1 -> amd64 (or x86 for 32-bit systems).
wget https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso Follow these steps: Then, use a slightly modified
qemu-system-x86_64 -m 4 G -cpu host -enable-kvm \ -drive file=windows81.qcow2,format=qcow2,if=virtio \ -cdrom /path/to/windows_8.1.iso \ -drive file=/path/to/virtio-win.iso,index=3,media=cdrom \ -net nic,model=virtio -net user \ -vga qxl -usb -device usb-tablet Use code with caution. Copied to clipboard 4. Running the Setup
Once Windows 8.1 boots to the desktop, you will notice the internet isn't working and the graphics may feel sluggish. Open in Windows.