[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] a problem with using qcow2 format image files as virtual disks
Hi,
In most cases we use image files as virtual disks under the full-virtualization situation.On the version 4.1.2 of xen,I do the following command:
############################################################
dd if=/dev/zero of=myraw.img bs=1M seek=8K count=1
#Before the command below I install the operating system in myraw.img
qemu-img-xen create -b myraw.img -f qcow2 myqcow1.img 20000M
qemu-img-xen create -b myqcow1.img -f qcow2 myqcow2.img 20000M
############################################################
Then I use myqcow2.img with a configure file to start a VM,but I failed.After the command "xl create myqcow2.hvm" is executed,I launch the application of VNC to connect to the VM.On the display screen of VNC,the error of "no bootable device found" occured.In the configure file,I configure the disk like this:
diks = ['tap2:tapdisk:qcow2:/....../myqcow2.img,xvda,w']
(I also use "diks = ['tap:qcow2:/....../myqcow2.img,xvda,w']",but it failed too)
How could I solve the error of "no bootable device found"?(I think that maybe my configure of disk is illegal...Here my purpose is that I would like to create a VM whose disk file is based on a qcow2 format image file.In another words, I'd like to use several-layer qcow2 format images to create VMs.)
hxk
_______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |