qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] qxl : no mouse cursor with sdl2/gtk UI


From: nicolas prochazka
Subject: Re: [Qemu-devel] qxl : no mouse cursor with sdl2/gtk UI
Date: Wed, 20 Jan 2016 15:20:53 +0100

hello,
my libvirt definition xml file, if i change qxl by vga , mouse pointer is present ,
if i change vm seven to windows81 , mouse pointer is present  ( using wddm qxl driver not the same as seven )
with windows seven vm, last qxl , mouse click is ok, but there'is no mouse pointer
( sound card, usb are passthrough device , test without passthrough do not change anyting )

Regards,
Nicolas

<domain type='kvm' >                                                                                                                                                                                                             
  <uuid>12c378b0-f434-3a5b-a0f6-137ac0680af1</uuid>
  <name>seven</name>                                                                                                                                                                                                    
  <memory unit='MB'>2732</memory>                                                                                                                                                                                         
  <currentMemory unit='MB'>2732</currentMemory>                                                                                                                                                                           
<memoryBacking>
<hugepages/>
</memoryBacking> 
<os>                                                                                                                                                                                                                           
    <type>hvm</type>                                                                                                                                                                                                             
  </os>
<features>
    <acpi/>
     <apic/>
     <hap/>
      <hyperv>
       <relaxed state='on'/>
      <vapic state='on'/>
     <spinlocks state='on' retries='8191'/>
    </hyperv>
   </features>

<vcpu placement='static'>2</vcpu>
  <cputune>
      <vcpupin vcpu='0' cpuset='2'/>
          <vcpupin vcpu='1' cpuset='3'/>
        </cputune>

<cpu mode='host-passthrough'>
<model>kvm64</model>
<feature policy='optional' name='x2apic' />
<topology sockets='1' cores='2' threads='1' />
 </cpu>
 <pm>
     <suspend-to-disk enabled='no'/>
         <suspend-to-mem enabled='no'/>
       </pm>
  <clock offset='localtime'>
      <timer name='hpet' present='no'/>
          <timer name='hypervclock' present='yes'/>
  </clock>

  <devices>                                                                                                                                                                                                                      
<emulator>/usr/bin/qemu-kvm</emulator>
<channel type='unix'>
<source mode='bind' />
<target type='virtio' name='org.qemu.guest_agent.0'/>
<address type='virtio-serial' controller='0' bus='0' port='1'/>
</channel>


<disk type='network' device='disk'>
      <driver name='qemu' type='raw'/>
            <source protocol='nbd' >
                <host transport='unix' socket='/tmp/seven.ctl' />
                  </source>
              <target dev='hda' bus='ide' />
              </disk>


<disk type='network' device='disk'>
      <driver name='qemu' type='raw'/>
            <source protocol='nbd' >
                    <host transport='unix' socket='/tmp/swap.ctl' />
                          </source>
                          <target dev='hdb' bus='ide' />
                          </disk>


<memballoon model='none'/>
    <interface type='bridge'>
      <source bridge='switch0' />
      <virtualport type='openvswitch' />
      <model type='e1000'/>
      <mac address='AC:DE:50:72:8E:68'/>
      <vlan>
            <tag id='0' />
      </vlan>

    </interface>
 
   <graphics type='sdl' display=':0.0'>
     </graphics>
<graphics type='vnc' passwd='3e93e9ad7d080d3c33247d22a0ec3ada581d140c2ce5b14803cd46adab11e506' port='5900' autoport='no' keymap='fr' websocket='8080' >
     <listen type='address' address='10.10.3.230' />
     </graphics>
<input type='tablet' bus='usb'/>  
<!-- <sound model='ich6'/> -->

 <video>
      <model type='qxl' vram='65536' heads='1'/>
    </video>

<hostdev mode='subsystem' type='pci' managed='yes'>
  <source>
  <address domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
  </source>
  </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'>
  <source>
  <address domain='0x0000' bus='0x00' slot='0x1d' function='0x0'/>
  </source>
  </hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'>
  <source>
  <address domain='0x0000' bus='0x00' slot='0x14' function='0x0'/>
  </source>
  </hostdev>

</devices>
</domain>



 

2016-01-20 8:00 GMT+01:00 Gerd Hoffmann <address@hidden>:
On Di, 2016-01-19 at 15:59 +0100, nicolas prochazka wrote:
> hello,
>
> however it "s working perfectly under windows81

But you no tablet configured and therefore have to grab/ungrab the mouse
when switching between host and guest I guess?

cheers,
  Gerd




reply via email to

[Prev in Thread] Current Thread [Next in Thread]