[Spice-devel] multi monitor setup ?

Brad Campbell lists2009 at fnarfbargle.com
Tue Sep 3 00:14:17 PDT 2013


On 30/08/13 21:36, Alexandre DERUMIER wrote:
> Hi,
>
> I'm looking for documentation about multi monitor setup, and I can't find it.
>
> How do it work ?

Here's how I do it.

#!/bin/sh
qemu -enable-kvm\
  -m 24576\
  -rtc base=localtime\
  -vga qxl\
  -device qxl\
  -net nic,model=virtio\
  -net tap,ifname=tap0,script=/etc/qemu-ifup\
  -usbdevice tablet\
  -spice port=5930,disable-ticketing\
  -drive 
file=/dev/disk/by-id/ata-FM-25S2S-60GBP2_GS07103208060019,if=virtio,cache=unsafe 
-boot c\
  -device virtio-serial\
  -chardev spicevmc,id=vdagent,name=vdagent\
  -device virtserialport,chardev=vdagent,name=com.redhat.spice.0\
  -smp 4,maxcpus=4,cores=4\
  -cpu host

This gives me 2 heads in a Windows server 2003 Guest. I believe the 
important part is making sure you have a spice channel enabled, and the 
extra "-device qxl" to let it know you want two devices.

I've not needed triple head yet, but I assume it'll work just the same.




More information about the Spice-devel mailing list