[one-users] images for kvm

Ruben Diez rdiez at cesga.es
Tue Nov 2 01:20:29 PDT 2010


Thanks for the suggestions, but the image are in raw format....

Javier Fontan escribió:
> Ruben has just added some changes to make qcow work, check
> http://lists.opennebula.org/pipermail/users-opennebula.org/2010-October/003133.html
>
> On Fri, Oct 29, 2010 at 3:57 PM, Olivier Sallou <olivier.sallou at irisa.fr> wrote:
>   
>> Hi,
>> is your VM is raw format?
>>
>> ONE 2 does not manage correctly for the moment the qcow2 format on KVM with
>> latest libvirt versions (which add raw format by default instead of
>> guessing)
>>
>> IF not in raw, try getting your image as raw and try again, it worked for me
>> with the same problem.
>>
>> Olivier
>>
>> Le 10/29/10 3:10 PM, Ruben Diez a écrit :
>>     
>>> Hi:
>>>
>>> We have a VM disk image for use with opennebula+kvm.
>>>
>>> When we launch the VM directly with kvm, it runs smoothly....
>>>
>>>
>>> kvm -m 10240 -hda disk.img  -boot c
>>>
>>> But when we register the image with oneimage and launch the machine by
>>> using "onevm create", the VM do not boot.... it stands in the message:
>>>
>>> "Loading Grub, Please wait..."
>>>
>>> and never boot....
>>>
>>> The bus type and others parameters seems ok. This is the kvm command
>>> running in the physical host:
>>>
>>> /usr/bin/kvm -S -M pc-0.12 -enable-kvm -m 1024 -smp
>>> 1,sockets=1,cores=1,threads=1 -name one-1184 -uuid
>>> 5bb9611e-7671-b7a7-c2b3-64a66f5d0811 -nodefaults -chardev
>>> socket,id=monitor,path=/var/lib/libvirt/qemu/one-1184.monitor,server,nowait
>>> -mon chardev=monitor,mode=readline -rtc base=utc -boot c -drive
>>> file=/srv/cloud/one/var//1184/images/disk.0,if=none,id=drive-ide0-0-0,boot=on,format=raw
>>> -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -drive
>>> file=/srv/cloud/one/var//1184/images/disk.1,if=none,id=drive-ide0-0-1,format=raw
>>> -device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -drive
>>> file=/srv/cloud/one/var//1184/images/disk.2,if=none,media=cdrom,id=drive-ide0-1-1,readonly=on,format=raw
>>> -device ide-drive,bus=ide.1,unit=1,drive=drive-ide0-1-1,id=ide0-1-1 -device
>>> rtl8139,vlan=0,id=net0,mac=02:00:54:15:ad:bf,bus=pci.0,addr=0x3 -net
>>> tap,fd=34,vlan=0,name=hostnet0 -device
>>> rtl8139,vlan=1,id=net1,mac=02:00:c0:a8:bf:01,bus=pci.0,addr=0x4 -net
>>> tap,fd=35,vlan=1,name=hostnet1 -usb -vnc 127.0.0.1:284 -k es -vga cirrus
>>> -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5
>>>
>>>
>>> Any ideas???
>>>
>>> Regards
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>       
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>     
>
>
>
>   



More information about the Users mailing list