[Spice-devel] settings for qxl memory size

Davide Canova davide.canova at heliman.it
Thu Jan 24 03:08:08 PST 2013


2013/1/23 Alon Levy <alevy at redhat.com>:
> Looks like the client isn't supplying the correct password set below. You can also disable passwords by the "disable-ticketing" option, i.e. "-spice disable-ticketing,..."

I didn't notice that warning, I should have disabled passwords for the
sake of posting, but I did many tests and I'm sure it's not a password
issue (I have the problem only with qxl enabled).

This is a log with passwords disabled:

qxl-0: ram/pri: 32 MB [region 0]
qxl-0: vram/32: 0 MB [region 1]
qxl-0: vram/64: 0 MB [unmapped]
main_channel_link: add main channel client
main_channel_handle_parsed: net test: latency 38.945000 ms, bitrate
581983518 bps (555.022734 Mbps)
red_channel_client_pre_create_validate: Error client 0x7fe2d619a8f0:
duplicate channel type 2 id 0
inputs_connect: inputs channel client create
red_channel_client_pre_create_validate: Error client 0x7fe2d619a8f0:
duplicate channel type 2 id 0
red_dispatcher_set_cursor_peer:
red_dispatcher_set_cursor_peer:
red_channel_client_pre_create_validate: Error client 0x7fe2d619a8f0:
duplicate channel type 4 id 0

Is the amount of MB in the first 3 lines as expected? In another test
I tried 16M for both qxl-vga.ram_size and qxl-vga.vram_size but these
lines didn't change.

Qemu invocation:

/usr/lib/xen/bin/qemu-system-i386
-xen-domid
3
-chardev
socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-3,server,nowait
-mon
chardev=libxl-cmd,mode=control
-name
W7
-k
it
-spice
port=6002,tls-port=0,addr=0.0.0.0,disable-ticketing,agent-mouse=on
-device
qxl-vga
-global
qxl-vga.vram_size=65536
-global
qxl-vga.ram_size=65536
-boot
order=dc
-smp
2,maxcpus=2
-device
rtl8139,id=nic0,netdev=net0,mac=00:16:3e:1a:b4:74
-netdev
type=tap,id=net0,ifname=vif3.0-emu,script=no,downscript=no
--global
qxl-vga.debug=1
-global
qxl-vga.guestdebug=20
-M
xenfv
-m
1920
-drive
file=/mnt/vm/disks/prova/W7.disk1.xm,if=ide,index=0,media=disk,format=raw,cache=writeback
-drive
file=/mnt/vm/iso/XPSP3PRO.iso,if=ide,index=1,media=cdrom,format=raw,cache=writeback,id=ide-832


More information about the Spice-devel mailing list