[Spice-devel] qemu-2.0 / spice crash

Dominique Rodrigues dominique.rodrigues at nanocloud.com
Fri Apr 25 14:29:59 PDT 2014


I did not uninstall spice agent to test that.

However, I am quite sure that there is a link with the SPICE driver. I
have crashes after switching to fullscreen (and coming back or not to
windowed screen). Usually, launching a video or an application (word
2013) is enough to crash the VM in only a few secondes.

If I never switch to fullscreen, the VM seems to keep stable, at least
during more time.

Under SPICE_DEBUG_LEVEL=5, I got this message once (screen stayed freezed) :

(qemu) *** Error in `/usr/local/bin/qemu-system-x86_64': corrupted
double-linked list: 0x00007f2e586fe490 ***

(not sure if there is a link with crash)

Dominique


Le 25/04/2014 19:55, nicolas prochazka a écrit :
> Can you reproduce crashe when spice redhat agent is uninstalled ( on
> windows guest ) . ? 
> ( this is my case)
> Regards, 
> Nicolas Prochazka.
>
>
> 2014-04-25 18:20 GMT+02:00 Dominique Rodrigues
> <dominique.rodrigues at nanocloud.com
> <mailto:dominique.rodrigues at nanocloud.com>>:
>
>     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 <mailto: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 <tel:%2B33%201%2077%2069%2064%2038>
>     529 002 743 R.C.S. Paris
>
>     _______________________________________________
>     Spice-devel mailing list
>     Spice-devel at lists.freedesktop.org
>     <mailto: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/253f0d0e/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/253f0d0e/attachment.bin>


More information about the Spice-devel mailing list