On Tue, Nov 9, 2010 at 3:36 PM, Prasad Joshi
<[email protected]> wrote:
> Hello,
>
> I am trying to run KVM machine from the image created as COW from the 
> original image. But it not working.
>
> Screenshot that shows the KVM works with the original image
>
>  [r...@prasad images]# qemu-kvm /var/lib/libvirt/images/Ubuntu.img -m 512
> ^Z
> [1]+  Stopped                 qemu-kvm /var/lib/libvirt/images/Ubuntu.img -m 
> 512
> [r...@prasad images]# bg
> [1]+ qemu-kvm /var/lib/libvirt/images/Ubuntu.img -m 512 &
> [r...@prasad images]# pwd
> /var/lib/libvirt/images
> [r...@prasad images]# lsmod | grep -i kvm
> kvm_intel              42122  3
> kvm                   257132  1 kvm_intel
>
> 1. Created COW copy of the image after stoping the VM that was running
>
> [r...@prasad images]# pwd
> /var/lib/libvirt/images
>
> [r...@prasad images]# qemu-img create -b Ubuntu.img -f qcow 
> /home/prasad/Virtual/Ubuntu_copy.ovl
>
> 2. Trying to run VM using the copy created
>
> [pra...@prasad Virtual]$ ls -l
> total 36
> -rw-r--r--. 1 root root 32832 Nov  9 15:33 Ubuntu_copy.ovl

Why is Ubuntu.img not visible in the ls output?

Ubuntu.img is a relative path to the backing file.  It looks like QEMU
will not be able to open the backing file.

Also, is there a reason you're using qcow and not qcow2?

Stefan
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to