dual head with virt-manager, qemu, qxl, debian

Thomas Koch thomas at koch.ro
Fri Aug 2 01:52:35 PDT 2013


Hi,

I  try to run a debian testing guest inside a debian stable host and would 
like to use both physical displays to show virtual displays of my guest.

Is this possible?

I tried setting the heads attribute in the domain xml as described here:
https://bugzilla.redhat.com/show_bug.cgi?id=885806#c1

I've tried virt-managers internal viewer, virt-viewer and spicy without any 
indication of a second display.

I've also tried to add a second qxl video device in virt-manager which gave 
the following commandline, containing -vga qxl and -device qxl:

/usr/bin/kvm -S -M pc-1.1 -enable-kvm -m 6144 -smp 
6,maxcpus=8,sockets=8,cores=1,threads=1 -name comsolitdev -uuid 
e6eb5d32-9ead-7f12-c948-1ab8b5a2a3d3 -no-user-config -nodefaults -chardev 
socket,id=charmonitor,path=/var/lib/libvirt/qemu/comsolitdev.monitor,server,nowait 
-mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -
device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device virtio-serial-
pci,id=virtio-serial0,bus=pci.0,addr=0x5 -drive 
file=/var/lib/libvirt/images/comsolitdev.img,if=none,id=drive-virtio-
disk0,format=raw -device virtio-blk-
pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-
disk0,bootindex=1 -fsdev local,security_model=none,id=fsdev-
fs0,path=/home/thkoch/virtshare -device virtio-9p-pci,id=fs0,fsdev=fsdev-
fs0,mount_tag=/virtshare,bus=pci.0,addr=0x8 -netdev 
tap,fd=20,id=hostnet0,vhost=on,vhostfd=21 -device virtio-net-
pci,netdev=hostnet0,id=net0,mac=52:54:00:6b:f9:c8,bus=pci.0,addr=0x3 -chardev 
pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev 
spicevmc,id=charchannel0,name=vdagent -device virtserialport,bus=virtio-
serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -
device usb-tablet,id=input0 -spice port=5900,addr=127.0.0.1,disable-ticketing 
-vga qxl -global qxl-vga.vram_size=134217728 -device 
qxl,id=video1,vram_size=67108864,bus=pci.0,addr=0x9 -device intel-
hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=sound0-
codec0,bus=sound0.0,cad=0 -device virtio-balloon-
pci,id=balloon0,bus=pci.0,addr=0x7

Do I need to do anything special in the guest system like editing the 
xorg.conf?

Regards, Thomas Koch


More information about the xorg mailing list