Most Linux distributes have the virtio & QXL drivers you might need to install the spice-vdagent.
On Windows you can download and install the virtio and QXL drivers.
Using the virtio drivers will improve your guest system performance and your virtualization experience.
Convert the disk image
merge the vmware disk images…
If you use split disk images on vmware ( or vmware player ) migrate them to a single disk images with the vmware-vdiskmanager command.
1 2 3 4 5
convert the vmdk image to qcow2
Convert the VMDK disk image to qcow2
Import the disk image to KVM
We’ll inport the disk image with
virt-install it’s also posible to import the images with
virt-manager if you prefer a graphical interface or or just being lazy :-)
Available os options
To list the supported operation system you can use the
osinfo-query os command
1 2 3 4 5 6 7 8 9 10 11
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
We need to import the disk image as IDE device since we don’t have the virtio driver in our windows disk image (yet).
1 2 3 4 5
Install the virtio drivers and QXL graphics drivers
Type of virtio drivers
The following virtio windows drivers are available.
- block (disk drivers)
- baloon ((dynamic memory management)
The fedoraproject provides pre compiled iso images containig all the virtio drivers and installation images for windows XP.
- NetKVM/ - Virtio network driver
- viostor/ - Virtio block driver
- vioscsi/ - Virtio Small Computer System Interface (SCSI) driver
- viorng/ - Virtio RNG driver
- vioser/ - Virtio serial driver
- Balloon/ - Virtio memory balloon driver
- qxl/ - QXL graphics driver for Windows 7 and earlier. (build virtio-win-0.1.103-1 and later)
- qxldod/ - QXL graphics driver for Windows 8 and later. (build virtio-win-0.1.103-2 and later)
- pvpanic/ - QEMU pvpanic device driver (build virtio-win-0.1.103-2 and later)
- guest-agent/ - QEMU Guest Agent 32bit and 64bit MSI installers
- qemupciserial/ - QEMU PCI serial device driver
- *.vfd VFD floppy images for using during install of Windows XP
The virtio windows driver images are available from https://docs.fedoraproject.org/quick-docs/en-US/creating-windows-virtual-machines-using-virtio-drivers.html
I use arch linux and download virtio-win AUR package with pacaur. You can download the images directly or use the installation packages for your Linux distribution.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
This install virtio images to
1 2 3 4 5 6
virtio-win.iso is the ISO cdrom image containing all the drivers.
mount the iso image
Make sure that the cdrom is mounted in windows.
Open Device Manager
Open device Manager in the control panel or type
devmgmt.msc on the command prompt.
Update the drivers
- balloon, the balloon driver affects the PCI device
- vioserial, affects the PCI simple communication controler
- NetKVM, the network driver affects the Network adapters.
- viostor, the block driver affects the Disk drives.
Update the PCI drivers
In windows 10 the PCI device and the PCI Simple Communications Controller have the missing driver icon. Right click on the PCI device and select update driver -> click on Browse my computer for driver software Specify the cdrom as the search location and click Next, this will install the Balloon driver.
Do the same for the PCI Simple Communications Controller this will install the “VirtIO Serial Driver”
install the VioStor driver
Add a temporary disk to the virtual machine and use VirtIO as the Bus Type In the Device Manager you’ll get a new device SCSI Controller right click it and update the driver. This will install the Red Hat VirtIO SCSI controller
Go to the device settings of your virtual machine and change the Disk bus to VirtIO and shutdown you virtual machine.
You can remove the temporary disk now or leave it if you can find some use for it…
Make sure that you disk is selected as the bootable device.
Start the virtual machine and make sure that the system is bootable.
install the netKVM driver
Update the Device model to virtio.
devmgmt.msc and update the driver as we did before….
And verify that you network card works correctly.
install the QXL graphical driver
Update the Microsoft Basic Display Adapter
After the installation you can change the the display resolution.
If you want to use higher screen resolutions you need to increase the video ram