I am running linux mint debian edition.
I have kvm installed and working, using virt-manager as the manager. I have a qcow2 disk file with windows xp pro installed that I used as a base to clone a new qcow2 file. I have done this before without a problem. For testing I want to run multiple clones. However, if I boot up more than one clone at a time I get the following error in Windows:

Windows could not start because the following file is missing or corrupt:
<Windows root>\system32\hal.dll.
Please re-install a copy of the above file.

This seems to happen with any combination of cloned qcow2 image based vm's that I run. I can run any of them separately. But, if I try to boot a second one when there's also one running off of the same base image, I get that error.

Should I be able to run multiple clones like I want for testing? If so, please point me in the right direction to accomplish that.

link|improve this question

50% accept rate
feedback

1 Answer

up vote 0 down vote accepted

Are your clones using the same writable image by any chance? You need to provide a different image to every VM running concurrently.

link|improve this answer
Not really. I am using a qcow2 read only base image with multiple clones. See linux-kvm.com/content/…. Only the clone images get attached to the vm's. – senorsmile Dec 11 '11 at 19:03
If you're sure you're doing everything right, no idea. Try mounting a cloned image while another VM is running and checking if the files are there. – ivan_pozdeev Dec 11 '11 at 23:03
Thanks for the suggestion. I wasn't able to mount it as a loop device. According to what I found on google, you must mount a qcow2 device using qemu-nbd. However, I wasn't able to get it mounted like that. I instead attached it to another vm and booted to a livecd. Sure enough, system32 was somehow missing. I deleted the clone and recreated and now have two vm clones based on the same backing image running simultaneously. Thanks! – senorsmile Dec 12 '11 at 1:10
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.