[Spice-devel] deadlock / monitor qemu / spice
nicolas prochazka
prochazka.nicolas at gmail.com
Fri Nov 18 05:32:20 PST 2011
hello,
some tests, in fact in not due to connect qemu monitor :
but qxl driver ( latest binary
qxl-0.10-20112808.zip<http://www.spice-space.org/download/binaries/qxl-0.10-20112808.zip>)
qemu 1.0rc2 / spice 0.10 / vm windows XP SP3
run 10 vm with cirrus vga , all is ok
run 10 vm with qxl vga , 3 or more are freezing during windows process
/usr/local/bin/qemu -name SPICE001 -spice
port=11931,disable-ticketing -soundhw hda -vga cirrus -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/SPICE001.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:3e:ba:94,model=rtl8139 -drive
file=/swapfile-guest/swap1,if=ide,index=1,media=disk,snapshot=on -rtc
base=localtime -drive
file=/mnt/vdisk/images/VM-SPICE001.1321617871.726877,index=0,media=disk,snapshot=on,cache=unsafe
-fda fat:floppy:/mnt/vdisk/diskconf/SPICE001 -k fr --enable-kvm
-readconfig /tmpsafe/ehci -chardev
spicevmc,name=usbredir,id=usbredirchardev1 -device
usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3 &
/usr/local/bin/qemu -name SPICE002 -spice
port=11932,disable-ticketing -soundhw hda -vga cirrus -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:102 -monitor
tcp:127.0.0.1:10102,server,nowait,nodelay -m 512 -pidfile
/var/run/qemu/SPICE002.pid -net
tap,vlan=5,name=externe,script=/etc/qemu-ifEup,downscript=/etc/qemu-ifEdown,ifname=vmEtap2
-net nic,vlan=5,macaddr=ac:de:49:69:f6:a8,model=rtl8139 -drive
file=/swapfile-guest/swap1,if=ide,index=1,media=disk,snapshot=on -rtc
base=localtime -drive
file=/mnt/vdisk/images/VM-SPICE002.1321617871.995625,index=0,media=disk,snapshot=on,cache=unsafe
-fda fat:floppy:/mnt/vdisk/diskconf/SPICE002 -k fr --enable-kvm
-readconfig /tmpsafe/ehci -chardev
spicevmc,name=usbredir,id=usbredirchardev1 -device
usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3 &
/usr/local/bin/qemu -name SPICE003 -spice
port=11933,disable-ticketing -soundhw hda -vga cirrus -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:103 -monitor
tcp:127.0.0.1:10103,server,nowait,nodelay -m 512 -pidfile
/var/run/qemu/SPICE003.pid -net
tap,vlan=5,name=externe,script=/etc/qemu-ifEup,downscript=/etc/qemu-ifEdown,ifname=vmEtap3
-net nic,vlan=5,macaddr=ac:de:49:23:14:88,model=rtl8139 -drive
file=/swapfile-guest/swap1,if=ide,index=1,media=disk,snapshot=on -rtc
base=localtime -drive
file=/mnt/vdisk/images/VM-SPICE003.1321617872.264163,index=0,media=disk,snapshot=on,cache=unsafe
-fda fat:floppy:/mnt/vdisk/diskconf/SPICE003 -k fr --enable-kvm
-readconfig /tmpsafe/ehci -chardev
spicevmc,name=usbredir,id=usbredirchardev1 -device
usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3 &
/usr/local/bin/qemu -name SPICE004 -spice
port=11934,disable-ticketing -soundhw hda -vga cirrus -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:104 -monitor
tcp:127.0.0.1:10104,server,nowait,nodelay -m 512 -pidfile
/var/run/qemu/SPICE004.pid -net
tap,vlan=5,name=externe,script=/etc/qemu-ifEup,downscript=/etc/qemu-ifEdown,ifname=vmEtap4
-net nic,vlan=5,macaddr=ac:de:49:3a:be:e5,model=rtl8139 -drive
file=/swapfile-guest/swap1,if=ide,index=1,media=disk,snapshot=on -rtc
base=localtime -drive
file=/mnt/vdisk/images/VM-SPICE004.1321617872.5276961,index=0,media=disk,snapshot=on,cache=unsafe
-fda fat:floppy:/mnt/vdisk/diskconf/SPICE004 -k fr --enable-kvm
-readconfig /tmpsafe/ehci -chardev
spicevmc,name=usbredir,id=usbredirchardev1 -device
usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3 &
/usr/local/bin/qemu -name SPICE005 -spice
port=11935,disable-ticketing -soundhw hda -vga cirrus -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:105 -monitor
tcp:127.0.0.1:10105,server,nowait,nodelay -m 512 -pidfile
/var/run/qemu/SPICE005.pid -net
tap,vlan=5,name=externe,script=/etc/qemu-ifEup,downscript=/etc/qemu-ifEdown,ifname=vmEtap5
-net nic,vlan=5,macaddr=ac:de:49:96:24:fb,model=rtl8139 -drive
file=/swapfile-guest/swap1,if=ide,index=1,media=disk,snapshot=on -rtc
base=localtime -drive
file=/mnt/vdisk/images/VM-SPICE005.1321617872.800195,index=0,media=disk,snapshot=on,cache=unsafe
-fda fat:floppy:/mnt/vdisk/diskconf/SPICE005 -k fr --enable-kvm
-readconfig /tmpsafe/ehci -chardev
spicevmc,name=usbredir,id=usbredirchardev1 -device
usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3 &
/usr/local/bin/qemu -name SPICE006 -spice
port=11936,disable-ticketing -soundhw hda -vga cirrus -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:106 -monitor
tcp:127.0.0.1:10106,server,nowait,nodelay -m 512 -pidfile
/var/run/qemu/SPICE006.pid -net
tap,vlan=5,name=externe,script=/etc/qemu-ifEup,downscript=/etc/qemu-ifEdown,ifname=vmEtap6
-net nic,vlan=5,macaddr=ac:de:49:57:2c:2b,model=rtl8139 -drive
file=/swapfile-guest/swap1,if=ide,index=1,media=disk,snapshot=on -rtc
base=localtime -drive
file=/mnt/vdisk/images/VM-SPICE006.1321617873.0655811,index=0,media=disk,snapshot=on,cache=unsafe
-fda fat:floppy:/mnt/vdisk/diskconf/SPICE006 -k fr --enable-kvm
-readconfig /tmpsafe/ehci -chardev
spicevmc,name=usbredir,id=usbredirchardev1 -device
usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3 &
/usr/local/bin/qemu -name SPICE007 -spice
port=11937,disable-ticketing -soundhw hda -vga cirrus -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:107 -monitor
tcp:127.0.0.1:10107,server,nowait,nodelay -m 512 -pidfile
/var/run/qemu/SPICE007.pid -net
tap,vlan=5,name=externe,script=/etc/qemu-ifEup,downscript=/etc/qemu-ifEdown,ifname=vmEtap7
-net nic,vlan=5,macaddr=ac:de:49:54:0a: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-SPICE007.1321617873.3348041,index=0,media=disk,snapshot=on,cache=unsafe
-fda fat:floppy:/mnt/vdisk/diskconf/SPICE007 -k fr --enable-kvm
-readconfig /tmpsafe/ehci -chardev
spicevmc,name=usbredir,id=usbredirchardev1 -device
usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3 &
/usr/local/bin/qemu -name SPICE008 -spice
port=11938,disable-ticketing -soundhw hda -vga cirrus -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:108 -monitor
tcp:127.0.0.1:10108,server,nowait,nodelay -m 512 -pidfile
/var/run/qemu/SPICE008.pid -net
tap,vlan=5,name=externe,script=/etc/qemu-ifEup,downscript=/etc/qemu-ifEdown,ifname=vmEtap8
-net nic,vlan=5,macaddr=ac:de:49:82:9a:25,model=rtl8139 -drive
file=/swapfile-guest/swap1,if=ide,index=1,media=disk,snapshot=on -rtc
base=localtime -drive
file=/mnt/vdisk/images/VM-SPICE008.1321617873.6026931,index=0,media=disk,snapshot=on,cache=unsafe
-fda fat:floppy:/mnt/vdisk/diskconf/SPICE008 -k fr --enable-kvm
-readconfig /tmpsafe/ehci -chardev
spicevmc,name=usbredir,id=usbredirchardev1 -device
usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3 &
/usr/local/bin/qemu -name SPICE009 -spice
port=11939,disable-ticketing -soundhw hda -vga cirrus -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:109 -monitor
tcp:127.0.0.1:10109,server,nowait,nodelay -m 512 -pidfile
/var/run/qemu/SPICE009.pid -net
tap,vlan=5,name=externe,script=/etc/qemu-ifEup,downscript=/etc/qemu-ifEdown,ifname=vmEtap9
-net nic,vlan=5,macaddr=ac:de:49:88:ab:22,model=rtl8139 -drive
file=/swapfile-guest/swap1,if=ide,index=1,media=disk,snapshot=on -rtc
base=localtime -drive
file=/mnt/vdisk/images/VM-SPICE009.1321617873.8690701,index=0,media=disk,snapshot=on,cache=unsafe
-fda fat:floppy:/mnt/vdisk/diskconf/SPICE009 -k fr --enable-kvm
-readconfig /tmpsafe/ehci -chardev
spicevmc,name=usbredir,id=usbredirchardev1 -device
usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3 &
/usr/local/bin/qemu -name SPICE010 -spice
port=11940,disable-ticketing -soundhw hda -vga cirrus -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:110 -monitor
tcp:127.0.0.1:10110,server,nowait,nodelay -m 512 -pidfile
/var/run/qemu/SPICE010.pid -net
tap,vlan=5,name=externe,script=/etc/qemu-ifEup,downscript=/etc/qemu-ifEdown,ifname=vmEtap10
-net nic,vlan=5,macaddr=ac:de:49:54:b7:ed,model=rtl8139 -drive
file=/swapfile-guest/swap1,if=ide,index=1,media=disk,snapshot=on -rtc
base=localtime -drive
file=/mnt/vdisk/images/VM-SPICE010.1321617874.1542211,index=0,media=disk,snapshot=on,cache=unsafe
-fda fat:floppy:/mnt/vdisk/diskconf/SPICE010 -k fr --enable-kvm
-readconfig /tmpsafe/ehci -chardev
spicevmc,name=usbredir,id=usbredirchardev1 -device
usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3 &
2011/11/17 nicolas prochazka <prochazka.nicolas at gmail.com>
> 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/20111118/a9d845fc/attachment.html>
More information about the Spice-devel
mailing list