[Spice-devel] deadlock / monitor qemu / spice

nicolas prochazka prochazka.nicolas at gmail.com
Thu Nov 17 08:46:19 PST 2011


I'm testing with a windows XP sp3 guest ( qxl 0.10 lastest binary version )
, this vm do two reboot

First test, it's ok :

/usr/local/bin/qemu -name PC001 -spice port=11931,disable-ticketing
-soundhw hda -vga qxl -device virtio-serial -chardev
spicevmc,id=vdagent,debug=0,name=vdagent -device
virtserialport,chardev=vdagent,name=com.redhat.spice.0 -cpu kvm64
-localtime -usbdevice tablet -vnc 10.98.98.1:101 -monitor tcp:
127.0.0.1:10101,server,nowait,nodelay -m 512 -pidfile
/var/run/qemu/PC001.pid -net
tap,vlan=5,name=externe,script=/etc/qemu-ifEup,downscript=/etc/qemu-ifEdown,ifname=vmEtap1
-net nic,vlan=5,macaddr=ac:de:49:20:b1:b3,model=rtl8139 -drive
file=/swapfile-guest/swap1,if=ide,index=1,media=disk,snapshot=on -rtc
base=localtime -drive
file=/mnt/vdisk/images/VM-PC001.1321542255.5541701,index=0,media=disk,snapshot=on,cache=unsafe
-fda fat:floppy:/mnt/vdisk/diskconf/PC001 -k fr --enable-kvm -readconfig
/tmpsafe/ehci -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device
usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3
do_spice_init: starting 0.10.0
spice_server_add_interface: SPICE_INTERFACE_MIGRATION
spice_server_add_interface: SPICE_INTERFACE_KEYBOARD
spice_server_add_interface: SPICE_INTERFACE_MOUSE
spice_server_add_interface: SPICE_INTERFACE_QXL
red_worker_main: begin
ensure_display_channel_created: create display channel
ensure_cursor_channel_created: create cursor channel
spice_server_add_interface: SPICE_INTERFACE_PLAYBACK
spice_server_add_interface: SPICE_INTERFACE_RECORD
*** EHCI support is under development ***
spice_server_char_device_add_interface: CHAR_DEVICE usbredir
spice_server_add_interface: SPICE_INTERFACE_TABLET
spice_server_char_device_add_interface: CHAR_DEVICE vdagent
    :  1 boot , logon
spice_server_char_device_remove_interface: remove CHAR_DEVICE vdagent     :
1 reboot
spice_server_char_device_add_interface: CHAR_DEVICE vdagent  : 2 boot logon


Same test, but in // I do  :

while(true); do echo "" | socat - TCP4:127.0.0.1:10101 ; sleep 1 ; done


DEV-10.98.98.1:~# /usr/local/bin/qemu -name PC001 -spice
port=11931,disable-ticketing -soundhw hda -vga qxl -device virtio-serial
-chardev spicevmc,id=vdagent,debug=0,name=vdagent -device
virtserialport,chardev=vdagent,name=com.redhat.spice.0 -cpu kvm64
-localtime -usbdevice tablet -vnc 10.98.98.1:101 -monitor tcp:
127.0.0.1:10101,server,nowait,nodelay -m 512 -pidfile
/var/run/qemu/PC001.pid -net
tap,vlan=5,name=externe,script=/etc/qemu-ifEup,downscript=/etc/qemu-ifEdown,ifname=vmEtap1
-net nic,vlan=5,macaddr=ac:de:49:20:b1:b3,model=rtl8139 -drive
file=/swapfile-guest/swap1,if=ide,index=1,media=disk,snapshot=on -rtc
base=localtime -drive
file=/mnt/vdisk/images/VM-PC001.1321542255.5541701,index=0,media=disk,snapshot=on,cache=unsafe
-fda fat:floppy:/mnt/vdisk/diskconf/PC001 -k fr --enable-kvm -readconfig
/tmpsafe/ehci -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device
usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3
do_spice_init: starting 0.10.0
spice_server_add_interface: SPICE_INTERFACE_MIGRATION
spice_server_add_interface: SPICE_INTERFACE_KEYBOARD
spice_server_add_interface: SPICE_INTERFACE_MOUSE
spice_server_add_interface: SPICE_INTERFACE_QXL
red_worker_main: begin
ensure_display_channel_created: create display channel
ensure_cursor_channel_created: create cursor channel
spice_server_add_interface: SPICE_INTERFACE_PLAYBACK
spice_server_add_interface: SPICE_INTERFACE_RECORD
*** EHCI support is under development ***
spice_server_char_device_add_interface: CHAR_DEVICE usbredir


Result, vm freeze during first boot or second.


Regards
Nicolas Prochazka.





2011/11/17 Alon Levy <alevy at redhat.com>

> On Thu, Nov 17, 2011 at 04:43:12PM +0100, nicolas prochazka wrote:
> >    Hello again,
> >
> >    qemu 1.0 rc2
> >
> >    spice 0.10
> >
> >    It's a known problem, but I thought it was corrected:
> >    when i run a vm with spice qxl, if i do lot of qemu monitor via tcp ,
> >    spice vm freeze.
>
> First time I've heard of it - where is it reported?
>
> >
> >    Regards,
> >
> >    Nicolas Prochazka.
>
> > _______________________________________________
> > Spice-devel mailing list
> > Spice-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/spice-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20111117/6d439c31/attachment.htm>


More information about the Spice-devel mailing list