[Spice-devel] deadlock / monitor qemu / spice
nicolas prochazka
prochazka.nicolas at gmail.com
Fri Nov 18 07:11:56 PST 2011
Hello
it seems to be worst,
I can provide memory dump , please gives me instructions.
Nicolas.
2011/11/18 Alon Levy <alevy at redhat.com>
> On Fri, Nov 18, 2011 at 02:32:20PM +0100, nicolas prochazka wrote:
> > hello,
> >
> > some tests, in fact in not due to connect qemu monitor :
> >
> > but qxl driver ( latest binary [1]qxl-0.10-20112808.zip )
>
> can you try http://spice-space.org/download/unstable/qxl-win-0.1-12.zip?
> if it fails too can you provide a windows memory dump of the guest? I
> can provide instructions if you need.
>
> >
> > 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 kvm
> > 64 -localtime -usbdevice tablet -vnc [2]10.98.98.1:101 -monitor
> tcp:[3]127.0.0.
> > 1:10101,server,nowait,nodelay -m 512 -pidfile /var/run/qemu/SPICE001.pid
> -net ta
> >
> p,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=/sw
> > apfile-guest/swap1,if=ide,index=1,media=disk,snapshot=on -rtc
> base=localtime -dr
> > ive
> file=/mnt/vdisk/images/VM-SPICE001.1321617871.726877,index=0,media=disk,snap
> > shot=on,cache=unsafe -fda fat:floppy:/mnt/vdisk/diskconf/SPICE001 -k fr
> --enable
> > -kvm -readconfig /tmpsafe/ehci -chardev
> spicevmc,name=usbredir,id=usbredircharde
> > v1 -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 kvm
> > 64 -localtime -usbdevice tablet -vnc [4]10.98.98.1:102 -monitor
> tcp:[5]127.0.0.
> > 1:10102,server,nowait,nodelay -m 512 -pidfile /var/run/qemu/SPICE002.pid
> -net ta
> >
> p,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=/sw
> > apfile-guest/swap1,if=ide,index=1,media=disk,snapshot=on -rtc
> base=localtime -dr
> > ive
> file=/mnt/vdisk/images/VM-SPICE002.1321617871.995625,index=0,media=disk,snap
> > shot=on,cache=unsafe -fda fat:floppy:/mnt/vdisk/diskconf/SPICE002 -k fr
> --enable
> > -kvm -readconfig /tmpsafe/ehci -chardev
> spicevmc,name=usbredir,id=usbredircharde
> > v1 -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 kvm
> > 64 -localtime -usbdevice tablet -vnc [6]10.98.98.1:103 -monitor
> tcp:[7]127.0.0.
> > 1:10103,server,nowait,nodelay -m 512 -pidfile /var/run/qemu/SPICE003.pid
> -net ta
> >
> p,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=/sw
> > apfile-guest/swap1,if=ide,index=1,media=disk,snapshot=on -rtc
> base=localtime -dr
> > ive
> file=/mnt/vdisk/images/VM-SPICE003.1321617872.264163,index=0,media=disk,snap
> > shot=on,cache=unsafe -fda fat:floppy:/mnt/vdisk/diskconf/SPICE003 -k fr
> --enable
> > -kvm -readconfig /tmpsafe/ehci -chardev
> spicevmc,name=usbredir,id=usbredircharde
> > v1 -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 kvm
> > 64 -localtime -usbdevice tablet -vnc [8]10.98.98.1:104 -monitor
> tcp:[9]127.0.0.
> > 1:10104,server,nowait,nodelay -m 512 -pidfile /var/run/qemu/SPICE004.pid
> -net ta
> >
> p,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=/sw
> > apfile-guest/swap1,if=ide,index=1,media=disk,snapshot=on -rtc
> base=localtime -dr
> > ive
> file=/mnt/vdisk/images/VM-SPICE004.1321617872.5276961,index=0,media=disk,sna
> > pshot=on,cache=unsafe -fda fat:floppy:/mnt/vdisk/diskconf/SPICE004 -k fr
> --enabl
> > e-kvm -readconfig /tmpsafe/ehci -chardev
> spicevmc,name=usbredir,id=usbredirchard
> > ev1 -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 kvm
> > 64 -localtime -usbdevice tablet -vnc [10]10.98.98.1:105 -monitor
> tcp:[11]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,ifna
> > me=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,sn
> > apshot=on,cache=unsafe -fda fat:floppy:/mnt/vdisk/diskconf/SPICE005 -k
> fr --enab
> > le-kvm -readconfig /tmpsafe/ehci -chardev
> spicevmc,name=usbredir,id=usbredirchar
> > dev1 -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 kvm
> > 64 -localtime -usbdevice tablet -vnc [12]10.98.98.1:106 -monitor
> tcp:[13]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,ifna
> > me=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,s
> > napshot=on,cache=unsafe -fda fat:floppy:/mnt/vdisk/diskconf/SPICE006 -k
> fr --ena
> > ble-kvm -readconfig /tmpsafe/ehci -chardev
> spicevmc,name=usbredir,id=usbredircha
> > rdev1 -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 kvm
> > 64 -localtime -usbdevice tablet -vnc [14]10.98.98.1:107 -monitor
> tcp:[15]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,ifna
> > me=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,s
> > napshot=on,cache=unsafe -fda fat:floppy:/mnt/vdisk/diskconf/SPICE007 -k
> fr --ena
> > ble-kvm -readconfig /tmpsafe/ehci -chardev
> spicevmc,name=usbredir,id=usbredircha
> > rdev1 -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 kvm
> > 64 -localtime -usbdevice tablet -vnc [16]10.98.98.1:108 -monitor
> tcp:[17]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,ifna
> > me=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,s
> > napshot=on,cache=unsafe -fda fat:floppy:/mnt/vdisk/diskconf/SPICE008 -k
> fr --ena
> > ble-kvm -readconfig /tmpsafe/ehci -chardev
> spicevmc,name=usbredir,id=usbredircha
> > rdev1 -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 kvm
> > 64 -localtime -usbdevice tablet -vnc [18]10.98.98.1:109 -monitor
> tcp:[19]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,ifna
> > me=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,s
> > napshot=on,cache=unsafe -fda fat:floppy:/mnt/vdisk/diskconf/SPICE009 -k
> fr --ena
> > ble-kvm -readconfig /tmpsafe/ehci -chardev
> spicevmc,name=usbredir,id=usbredircha
> > rdev1 -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 kvm
> > 64 -localtime -usbdevice tablet -vnc [20]10.98.98.1:110 -monitor
> tcp:[21]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,ifna
> > me=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 --en
> > able-kvm -readconfig /tmpsafe/ehci -chardev
> spicevmc,name=usbredir,id=usbredirch
> > ardev1 -device
> usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=3 &
> >
> >
> >
> > 2011/11/17 nicolas prochazka <[22]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 [23]10.98.98.1:101 -monitor
> > tcp:[24]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-ifE
> > down,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,s
> > napshot=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:[25]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 [26]10.98.98.1:101 -monitor
> > tcp:[27]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-ifE
> > down,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,s
> > napshot=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 <[28]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
> > > [29]Spice-devel at lists.freedesktop.org
> > > [30]http://lists.freedesktop.org/mailman/listinfo/spice-devel
> >
> > References
> >
> > 1. http://www.spice-space.org/download/binaries/qxl-0.10-20112808.zip
> > 2. http://10.98.98.1:101/
> > 3. http://127.0.0.1:10101/
> > 4. http://10.98.98.1:102/
> > 5. http://127.0.0.1:10102/
> > 6. http://10.98.98.1:103/
> > 7. http://127.0.0.1:10103/
> > 8. http://10.98.98.1:104/
> > 9. http://127.0.0.1:10104/
> > 10. http://10.98.98.1:105/
> > 11. http://127.0.0.1:10105/
> > 12. http://10.98.98.1:106/
> > 13. http://127.0.0.1:10106/
> > 14. http://10.98.98.1:107/
> > 15. http://127.0.0.1:10107/
> > 16. http://10.98.98.1:108/
> > 17. http://127.0.0.1:10108/
> > 18. http://10.98.98.1:109/
> > 19. http://127.0.0.1:10109/
> > 20. http://10.98.98.1:110/
> > 21. http://127.0.0.1:10110/
> > 22. mailto:prochazka.nicolas at gmail.com
> > 23. http://10.98.98.1:101/
> > 24. http://127.0.0.1:10101/
> > 25. http://127.0.0.1:10101/
> > 26. http://10.98.98.1:101/
> > 27. http://127.0.0.1:10101/
> > 28. mailto:alevy at redhat.com
> > 29. mailto:Spice-devel at lists.freedesktop.org
> > 30. 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/587c8483/attachment-0001.htm>
More information about the Spice-devel
mailing list