[Spice-devel] [ qemu-kvm-1.0-usbredir / hans git ]

nicolas prochazka prochazka.nicolas at gmail.com
Wed Apr 18 01:47:50 PDT 2012


Hello,
No it's no relative with virtio-serial bug.
With and without virtio driver the problem appear.
( however , the new virtio serial driver from vadim corrects all
windows vm guest's freeze )
In this case (vnc + qxl) , it's not a freeze but a segfault.

Regards,
Nicolas

2012/4/18 Alon Levy <alevy at redhat.com>:
> On Tue, Apr 17, 2012 at 12:42:45PM +0200, nicolas prochazka wrote:
>> Hello,
>> I'm using qemu 1.0-usbredir from hans git.
>> If i'm starting  a windows guest with  :
>>
>>  /usr/local/bin/qemu -name TEST_QXL010 -readconfig
>> /etc/ich9-ehci-uhci.cfg -device usb-tablet -spice
>> addr=10.98.98.1,port=11959,disable-ticketing -vga qxl -device
>> virtio-serial -chardev spicevmc,id=vdagent,debug=0,name=vdagent
>> -device virtserialport,chardev=vdagent,name=com.redhat.spice.0
>> -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device
>> usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=0 -chardev
>> spicevmc,name=usbredir,id=usbredirchardev2 -device
>> usb-redir,chardev=usbredirchardev2,id=usbredirdev2,debug=0 -chardev
>> spicevmc,name=usbredir,id=usbredirchardev3 -device
>> usb-redir,chardev=usbredirchardev3,id=usbredirdev3,debug=0 -vnc
>> 10.98.98.1:129 -monitor tcp:127.0.0.1:10129,server,nowait,nodelay
>> -soundhw ac97 -m 512 -pidfile /var/run/qemu/TEST_QXL010.pid -k fr -net
>> tap,vlan=5,name=externe,script=/etc/qemu-ifEup,downscript=/etc/qemu-ifEdown,ifname=vmEtap29
>> -net nic,vlan=5,macaddr=ac:de:49:14:75:5b,model=e1000 -drive
>> file=/swapfile-guest/swap1,if=ide,index=1,media=disk,snapshot=on -rtc
>> base=localtime -no-hpet -cpu host,+x2apic -drive
>> file=/mnt/vdisk/images/VM-TEST_QXL010.1334658714.2828879,index=0,media=disk,snapshot=on,cache=unsafe
>> -fda fat:floppy:/mnt/vdisk/diskconf/TEST_QXL010
>>
>> I boot with a default resolution of 640x480 , if i change to 1024x768
>> in VNC console  , qemu segfault ( 100 % reproductible )
>>
>> spice_server_add_interface: SPICE_INTERFACE_QXL
>> red_worker_main: begin
>> display_channel_create: create display channel
>> cursor_channel_create: create cursor channel
>> spice_server_add_interface: SPICE_INTERFACE_RECORD
>> spice_server_add_interface: SPICE_INTERFACE_PLAYBACK
>> *** EHCI support is under development ***
>> spice_server_char_device_add_interface: CHAR_DEVICE usbredir
>> spice_server_char_device_add_interface: CHAR_DEVICE usbredir
>> spice_server_char_device_add_interface: CHAR_DEVICE usbredir
>> qemu: virtio-serial-bus: Unexpected port id 2185099072 for device
>> virtio-serial-bus.0
>> spice_server_add_interface: SPICE_INTERFACE_TABLET
>> Segmentation fault
>>
>> Same thing without spice / qxl command line works fine.
>
> Can you try disabling the virtio-serial device and see if it doesn't
> happen? if that works, try the latest virtio-serial driver, it might fix
> it. A workaround might be to run with -smp 2 (only if removing
> virtio-serial helps - otherwise it's a different issue).
>
>>
>> Regards,
>> Nicolas P.
>> _______________________________________________
>> Spice-devel mailing list
>> Spice-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/spice-devel


More information about the Spice-devel mailing list