On Sun, Apr 25, 2010 at 10:53:46PM +0200, Olivier Berger wrote:
> 
> Here's the command line issued by libvirt :
> 
> /usr/bin/qemu -S -M pc-0.12 -m 256 -smp 1,sockets=1,cores=1,threads=1 -name 
> xptests -uuid d6167d80-5d04-73c8-fd12-791e77a5c1e3 -nodefaults -chardev 
> socket,id=monitor,path=/var/lib/libvirt/qemu/xptests.monitor,server,nowait 
> -mon chardev=monitor,mode=readline -rtc base=localtime -boot c -drive 
> file=/dev/sr0,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on -device 
> ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0 -drive 
> file=/mnt/xptests/xp.img,if=none,id=drive-ide0-0-0,format=raw -device 
> ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -device 
> rtl8139,vlan=0,id=net0,mac=52:54:00:37:fa:d0,bus=pci.0,addr=0x4 -net 
> tap,fd=42,vlan=0,name=hostnet0 -chardev pty,id=serial0 -device 
> isa-serial,chardev=serial0 -usb -device usb-tablet,id=input0 -vnc 127.0.0.1:0 
> -k fr -vga cirrus -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
> 

Inspired by others discussiong similar issues (following the links sent in 
#579349, I tried with the following commandline :

$ sudo qemu  -M pc-0.12 -m 256 -smp 1,sockets=1,cores=1,threads=1 -name xptests 
-uuid d6167d80-5d04-73c8-fd12-791e77a5c1e3 -nodefaults -rtc base=localtime 
-drive if=none,media=cdrom,id=drive-ide0-1-0,readonly=on -device 
ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0  -device 
rtl8139,vlan=0,id=net0,mac=52:54:00:37:fa:d0,bus=pci.0,addr=0x4 -net 
tap,fd=41,vlan=0,name=hostnet0 -chardev pty,id=serial0 -device 
isa-serial,chardev=serial0 -usb -device usb-tablet,id=input0 -k fr -vga cirrus 
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3  -hda 
/mnt/xptests/xp.img

and that seems to do the trick.

I replaced "-drive 
file=/mnt/xptests/xp.img,if=none,id=drive-ide0-0-0,format=raw -device 
ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0" by "-hda 
/mnt/xptests/xp.img", and then it works.

That's coherent with respect to 
http://lists.nongnu.org/archive/html/qemu-devel/2010-03/msg01725.html.

Hope this workaround helps.

Best regards,



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to