[Spice-devel] settings for qxl memory size

Davide Canova davide.canova at heliman.it
Fri Jan 18 10:16:37 PST 2013


Thanks for your reply,
I did more tests with this new patch for qxl, but it still doesn't work:
http://lists.xen.org/archives/html/xen-devel/2013-01/msg01405.html

I get this error in the logs:

main_channel_link: add main channel client
main_channel_handle_parsed: net test: latency 55.458000 ms, bitrate
680172700 bps (648.663235 Mbps)
red_dispatcher_set_cursor_peer:
inputs_connect: inputs channel client create
id 0, group 0, virt start 0, virt end ffffffffffffffff, generation 0, delta 0
id 1, group 1, virt start 7f2fcf657000, virt end 7f2fd0655000,
generation 0, delta 7f2fcf657000
id 2, group 1, virt start 7f2fce42d000, virt end 7f2fce43d000,
generation 0, delta 7f2fce42d000
(/usr/sbin/xl:5207): Spice-CRITICAL **:
red_memslots.c:94:validate_virt: virtual address out of range
    virt=0x7f2fd0657398+0xbf slot_id=1 group_id=1
    slot=0x7f2fcf657000-0x7f2fd0655000 delta=0x7f2fcf657000

I can provide more details or do more tests if useful.

Our test system is Debian Wheezy, with all packages from official
repository except seabios 1.7.1 from experimental, spice 0.12.2 and
spice-protocol 0.12.3 from experimental but recompiled, xen-unstable
(4.3) from source with patch.
We tried both qemu 1.3.0 from Xen repository and upstream unstable.
The client has spice-client-gtk 0.16, spice 0.12.2, spice-protocol
0.12.3 and usbredirection 0.6 installed.
The domU is Debian Wheezy (all packages from official repository)
started with these arguments:

---
Spawning device-model /usr/lib/xen/bin/qemu-system-i386 with arguments:
/usr/lib/xen/bin/qemu-system-i386
-xen-domid
6
-chardev
socket,id=libxl-cmd,path=/var/run/xen/qmp-libxl-6,server,nowait
-mon
chardev=libxl-cmd,mode=control
-name
WHEEZY
-k
it
-spice
port=6003,tls-port=0,addr=0.0.0.0,disable-ticketing,agent-mouse=on
-vga
qxl
-global
qxl-vga.vram_size=65536
-global
qxl-vga.ram_size=65536
-boot
order=c
-no-acpi
-smp
2,maxcpus=2
-device
rtl8139,id=nic0,netdev=net0,mac=00:16:3e:46:6b:4f
-netdev
type=tap,id=net0,ifname=vif6.0-emu,script=no,downscript=no
-device
virtio-serial-pci,id=virtio-serial0
-chardev
spicevmc,id=charchannel0,name=vdagent
-device
virtserialport,nr=1,bus=virtio-serial0.0,chardev=charchannel0,id=channel0,name=com.redhat.spice.0
-device
intel-hda,id=sound0
-device
hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0
-M
xenfv
-m
1920
-drive
file=/mnt/vm/disks/WHEEZY.disk1.xm,if=ide,index=0,media=disk,format=raw,cache=writeback
---


More information about the Spice-devel mailing list