[Spice-devel] qemu-2.0 / spice crash

Dominique Rodrigues dominique.rodrigues at nanocloud.com
Fri Apr 25 09:20:00 PDT 2014


I also have crashes when I launch a Windows 7 VM with recent releases of
qemu-kvm-2.0, while I don't have problems with qemu-kvm-1.7.1.

I use snapshot=off :

-drive
file=${SYSTEM_DISK},if=virtio,media=disk,cache=writeback,aio=native,snapshot=off


and the following SPICE options :

-nographic \
-device qxl-vga \
-spice $SPICE_OPT \
-global qxl-vga.vram_size=$VGA_MEM \
-device virtio-serial-pci \
-soundhw hda \
-chardev spicevmc,id=vdagent,name=vdagent \
-device virtserialport,chardev=vdagent,name=com.redhat.spice.0 \
-balloon virtio \
-readconfig /opt/qemu_usb_redir/ich9-ehci-uhci.cfg \
-chardev spicevmc,name=usbredir,id=usbredirchardev1 \
-device usb-redir,chardev=usbredirchardev1,id=usbredirdev1  \
-chardev spicevmc,name=usbredir,id=usbredirchardev2 \
-device usb-redir,chardev=usbredirchardev2,id=usbredirdev2  \
-chardev spicevmc,name=usbredir,id=usbredirchardev3 \
-device usb-redir,chardev=usbredirchardev3,id=usbredirdev3 \
-monitor stdio


with
SPICE_OPT=port=$SPICE_PORT,addr='localhost',password=$SPICE_PASS,image-compression=off,streaming-video=off,playback-compression=off

Regards,
Dominique

Le 25/04/2014 17:59, Marc-André Lureau a écrit :
> Hey
>
> ----- Original Message -----
>>
>> Try with hard disk image snapshot=on.
>>
>> Here is how I run qemu:
>> QEMU_AUDIO_DRV=spice
>> TMPDIR=/home/rick/qemu/hds
>> /usr/local/bin/qemu-system-x86_64 -cpu host -enable-kvm \
>> -m 1536 -name Win7Pro64 -localtime -no-fd-bootchk -smp cores=4 \
>> -pidfile /home/rick/qemu/hds/win7pro64.pid \
>> -drive file=/home/rick/qemu/hds/win7pro64.qed,if=virtio,index=0,snapshot=on \
>> -vga qxl \
>> -net nic,model=virtio -net user \
>> -device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5 \
>> -chardev spicevmc,name=vdagent,id=vdagent \
>> -device
>> virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,name=com.redhat.spice.0
>> \
>> -spice port=1247,disable-ticketing \
>> -monitor telnet:localhost:12471,server,nowait \
>> -drive if=none,id=cd,file=/dev/sg1 \
>> -device virtio-scsi-pci,id=scsi \
>> -device scsi-generic,drive=cd \
>> -balloon virtio \
>> -soundhw hda \
>> -device usb-ehci
>>
>> Let me know if you still can't reproduce, then I'll run with spice debug
>> level 5.
> I have been trying to get closer to your configuration, however windows is pretty picky on configuration changes and I hit BSOD.
>
> Can you remove as much hw/arguments from your qemu command line? (for ex, is it still reproducable without soundhw, balloon, CD etc?)
>
> In any case, I think the log could provide some hints.
>
> thanks
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel


-- 


        Dominique Rodrigues

nanoClouD <http://www.nanocloud.com>
8, rue Lemercier
75017 Paris
France
standard : +33 1 77 69 64 38
529 002 743 R.C.S. Paris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20140425/b3ca4b82/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4291 bytes
Desc: Signature cryptographique S/MIME
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20140425/b3ca4b82/attachment.bin>


More information about the Spice-devel mailing list