problem with spice connecting to multiple monitors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear spice development team:
         I'm asking for help on the spice when using two monitors in kvm  virtual machines. This is my test environment:A redhat 6.2 x64_64 server with kvm;one virtual machine using windows xp sp3 OS with two qxl graphics cards, the vm configuration file as follows:
<!--
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE 
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using:
  virsh edit spice
or other application using the libvirt API.
-->
 
<domain type='kvm'>
  <name>00000b</name>
  <uuid>26654b3d-4106-4d0f-b1e6-1fb12dc58b5a</uuid>
  <memory>1048576</memory>
  <currentMemory>1048576</currentMemory>
  <vcpu>1</vcpu>
  <os>
    <type arch='i686' machine='rhel6.2.0'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  &l t;clock offset='localtime'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/libexec/qemu-kvm</emulator>
        <disk type="file" device="disk">
         <driver name="qemu" type="raw" /> 
         <source file="/mnt/10.0.0.210_target14/winxp-work.img" /> 
        <target dev="hda" bus="ide" /> 
        <address type="drive" controller="0" bus="0" unit="0" /> 
         </disk>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bu s='0x00' slot='0x01' function='0x1'/>
    </controller>
    <interface type='bridge'>
      <mac address='00:16:3e:00:00:0b'/>
      <source bridge='br0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <interface type='bridge'>
      <mac address='00:16:3e:00:00:0c'/>
      <source bridge='br1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
  &n bsp;   <target type='serial' port='0'/>
    </console>
    <input type='tablet' bus='usb'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='spice' port='10005' autoport='no' listen='10.0.0.220' keymap='en-us' >
      <listen type='address' address='10.0.0.220'/>
    </graphics>
    <sound model='ac97'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </sound>
    <video>
      <model type='qxl' vram='65536' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <video>
  &n bsp;   <model type='qxl' vram='65536' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </memballoon>
  </devices>
</domain>

Inside vm box, i have installed the spice-guest-tools-0.59.exe, and following the website  http://support.microsoft.com/kb/307873/en-us , i configured one primary monitor and monitor 2 using the option "Extend my Windows desktop onto this monitor" .When I use spice connecting to the vm, it will appear two spice windows, spice: 0 and spice: 1.
I can drag items across my screen onto alternate monitors, namely spice: 1, but my problem is that my mouse is alway s mapped on the primary monitor, it can not be mapped to monitor 2. So, how to configure my spice when using multiple monitors in windows xp kvm virtual machines.
Look forward to receiving your reply and thanks.




_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]