Vnx-rootfswin7

 Create the filesystem disk image: qemu-img create -f qcow2 root_fs_win7-base.qcow2 10GB Create a libvirt XML definition (root_fs_win7.xml) containing the virtual machine description:  Win7 524288  1    hvm    /usr/bin/kvm       <interface type='network'> <source network='default'/> <interface type='network'> <source network='default'/> <interface type='network'> <source network='default'/> <interface type='network'> <source network='default'/> <serial type='pty'> <source path='/dev/pts/3'/> <target port='0'/> <graphics type='vnc'/> Note: change "source file=" lines to whatever fits your case (use full paths).

Start the virtual machine with:</li> virsh create root_fs_win7.xml Open virtual machine console with:</li> virt-viewer Win7 Note: you also can access the console through vncviewer: vncviewer localhost::5005 After Windows 7 instalation is finished:</li> <ul> Optional: autologin</li> </ul>

Known problems
<ul> After the Windows 7 virtual machine is shutdown, a blue screen of death (BSOD) appears...and the machine is rebooted. To stop the virtual machine, just type the following command when the BSOD appears:</li> virsh destroy Win7 </ul>