[one-users] images for kvm
Ruben Diez
rdiez at cesga.es
Fri Oct 29 06:10:32 PDT 2010
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
More information about the Users
mailing list