Re: Unable to start VM using COWed image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 9, 2010 at 3:36 PM, Prasad Joshi
<P.G.Joshi@xxxxxxxxxxxxxxxxxxxxx> 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
>
>  [root@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
> [root@prasad images]# bg
> [1]+ qemu-kvm /var/lib/libvirt/images/Ubuntu.img -m 512 &
> [root@prasad images]# pwd
> /var/lib/libvirt/images
> [root@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
>
> [root@prasad images]# pwd
> /var/lib/libvirt/images
>
> [root@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
>
> [prasad@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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux