Hi,<div><br></div><div>I am trying to get my RHEL 6.1 guest to span both monitors. I am using QEMU 0.14.0 upstream, SPICE 0.8.1 upstream, and RHEL 6.1 64-bit in the guest. My host platform is Ubuntu 10.04 running 2.6.32-32 kernel, 64-bit. I have compiled both QEMU and SPICE from source on this box using gcc 4.4.3.</div>
<div><br></div><div>I launch QEMU with just basic parameters for qxl:</div><div>-vga qxl -device qxl</div><div><br></div><div>(I have also tried giving it extended options, like id, etc., with no success)</div><div><br></div>
<div>Using these VM parameters I can span monitors with Windows XP guest, although that is unstable for me right now. So I think the virtual hardware is properly presented to the guest. Here is what lspci says inside the guest:</div>
<div><br></div><div><br></div><div><div>00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)</div><div>00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]</div><div>00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]</div>
<div>00:01.2 USB Controller: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] (rev 01)</div><div>00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 03)</div><div>00:02.0 VGA compatible controller: Red Hat, Inc. Device 0100 (rev 02)</div>
<div>00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)</div><div>00:04.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 03)</div><div>00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 01)</div>
<div>00:06.0 Display controller: Red Hat, Inc. Device 0100 (rev 02)</div><div>00:07.0 Communication controller: Red Hat, Inc Virtio console</div></div><div><br></div><div>you can see the 2nd QXL device at 00:06.0. I don't know why the first one says "VGA compatible" and the second one doesn't, but hopefully that is not an issue.</div>
<div><br></div><div>Since the xorg QXL driver doesn't support multi-monitor via RANDR, I wrote my own xorg.conf file to use Xinerama. I have read multiple statements, mostly as responses to bug reports, saying this *should* work. My xorg.conf file is very simple but I believe the Xinerama config is correct. I've attached it here (renamed to .txt for easier reading in a mailer).</div>
<div><br></div><div>What I am seeing is that the X server comes up but only renders one display. This happens whether I run the SPICE client in full screen or windowed mode. The Xorg.0.log file (also attached, renamed to .txt) shows that both cards are detected, the server layout is accepted, but pretty much the second card is ignored. I *really* hope I'm doing something wrong, but for the life of me I cannot figure out what. I do notice that Xorg puts asterisks next to the 0:2:0 card and not the 0:6:0 card, so maybe this has something to do with it.</div>
<div><br></div><div>Thanks in advance for any pointers. I would *really* love to be able to use both my monitors for my RHEL 6.1 virtual machine!</div><div><br></div><div>Thanks very much in advance for any pointers,</div>
<div><br></div><div>Leo Reiter</div><div><br></div>