Vous disposez d'une image virtuelle Windows pour VirtualBox ou VMWare ( fichier vmdk ) et vous souhaitez pouvoir l'utiliser avec le simple qemu :

D"abord vérifiez la compatibilté de votre système:

# egrep -c ' lm ' /proc/cpuinfo
# egrep -c '(vmx|svm)' /proc/cpuinfo

# apt install cpu-checker
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
libgsoap8 libicu64:i386 libmecab2 mysql-server-core-5.7 virtualbox-dkms
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
The following NEW packages will be installed:
cpu-checker msr-tools
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 17,5 kB of archives.
After this operation, 87,0 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://mirror.netcologne.de/ubuntu xenial/main amd64 msr-tools amd64 1.3-2 [10,6 kB]
Get:2 http://mirror.netcologne.de/ubuntu xenial/main amd64 cpu-checker amd64 0.7-0ubuntu7 [6 862 B]
Fetched 17,5 kB in 0s (112 kB/s)        
Selecting previously unselected package msr-tools.
(Reading database ... 524113 files and directories currently installed.)
Preparing to unpack .../msr-tools_1.3-2_amd64.deb ...
Unpacking msr-tools (1.3-2) ...
Selecting previously unselected package cpu-checker.
Preparing to unpack .../cpu-checker_0.7-0ubuntu7_amd64.deb ...
Unpacking cpu-checker (0.7-0ubuntu7) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up msr-tools (1.3-2) ...
Setting up cpu-checker (0.7-0ubuntu7) ...

phd-NC03U phd # kvm-ok
INFO: /dev/kvm exists
KVM acceleration can be used

Installation de Qemu:

sudo apt-get install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils virt-manager python-spice-client-gtk gir1.2-spice-client-gtk-3.0

Passons à l'étape suivante:

usermod -a -G libvirtd $(whoami)

# id $(whoami)
uid=0(root) gid=0(root) groups=0(root),137(libvirtd)

$ sudo virsh -c qemu:///system list
[sudo] password for phd: 
Id    Name                           State
2     generic                        paused
3     genericW10                     paused

Convertissons l'image au format vmdk vers qcow2 pour qemu:

# qemu-img convert -f vmdk -O qcow2 "Windows 7 (2).vmdk" hdd.qcow2

Pour lancer l'image Windows depuis votre station linux:

# qemu-system-x86_64 -m 4G -smp 2 --enable-kvm hdd.qcow2