Using Windows 7 VMs


Got KVM up and running, and it works well for Ubuntu VMs. However, I run into problems with Windows 7 VMs. I can get them up and installed fine, as long as I never shut them down or make copies of them. Then, they blue screen when they start up again. They are running on a remote server, so I’m ssh-ing to create, start, and edit the images, then using VNC to view the desktops of the VMs.

To create them, I’m using:
#create image
qemu-img create -f qcow2 windows-master.img 25G

#create VM
/usr/libexec/qemu-kvm -hda windows-master.img.img -cdrom /root/windows.iso -m 2048 -vnc :2 -boot d

And to start them up after restarting or cloning I’m using:
qemu-kvm -hda windows-master.img -vnc :2

Any ideas what I’m doing wrong or if there is something else I need to do? Any help would be appreciated. Thanks!