[Pkg-libvirt-maintainers] Bug#701097: virt-manager: No keyboard with Spice

Alexey Feldgendler alexey at feldgendler.ru
Thu Feb 21 13:34:46 UTC 2013


Package: virt-manager
Version: 0.9.1-4
Severity: normal


When a VM is configured to use Spice, keyboard input from the virt-manager
viewer does not reach the VM (and neither do the Send Key menu items work). No
keys at all work, not even A-Z (which sometimes still work when the keyboard
layout is broken).

When a stand-alone Spice client is used to access the same VM, keyboard works.
Also, the viewer in virt-manager works fine with VNC.

I get this warning:

(virt-manager:16431): vnc-keymap-WARNING **: Unknown keycode mapping 'evdev'.

Note that VNC is mentioned here, even though I'm confident that my VM uses
Spice, and a stand-alone Spice client works with it.

Console output from "virt-manager --debug --no-fork" below:

2013-02-21 14:25:38,784 (cli:71): virt-manager startup
2013-02-21 14:25:38,784 (virt-manager:292): Launched as: /usr/share/virt-
manager/virt-manager.py --debug --no-fork
2013-02-21 14:25:38,785 (virt-manager:293): GTK version: (2, 24, 10)
2013-02-21 14:25:38,785 (virt-manager:294): virtManager import: <module
'virtManager' from '/usr/share/virt-manager/virtManager/__init__.pyc'>
/usr/share/virt-manager/virt-manager.py:306: DeprecationWarning: Importing
dbus.glib to use the GLib main loop with dbus-python is deprecated.
Instead, use this sequence:

    from dbus.mainloop.glib import DBusGMainLoop

    DBusGMainLoop(set_as_default=True)

  import dbus.glib
2013-02-21 14:25:38,850 (keyring:30): gnomekeyring bindings not installed, no
keyring support
2013-02-21 14:25:38,881 (engine:555): No inspection thread because libguestfs
is too old, not available, or libvirt is not thread safe.
2013-02-21 14:25:38,882 (systray:138): Showing systray: False
2013-02-21 14:25:38,883 (engine:346): About to connect to uris
['qemu+ssh://alex@kvm1.paradial.int/system', 'qemu:///system']
2013-02-21 14:25:38,904 (manager:171): Showing manager
2013-02-21 14:25:38,934 (engine:471): window counter incremented to 1
2013-02-21 14:25:38,936 (manager:171): Showing manager
2013-02-21 14:25:38,938 (connection:991): Scheduling background open thread for
qemu:///system
2013-02-21 14:25:38,939 (connection:1177): Background 'open connection' thread
is running
2013-02-21 14:25:38,964 (connection:1227): Background open thread complete,
scheduling notify
2013-02-21 14:25:38,995 (connection:1232): Notifying open result
2013-02-21 14:25:39,507 (connection:1239): qemu:///system capabilities:
<capabilities>

  <host>
    <uuid>44454c4c-3000-1038-8059-b4c04f345331</uuid>
    <cpu>
      <arch>x86_64</arch>
      <model>SandyBridge</model>
      <vendor>Intel</vendor>
      <topology sockets='1' cores='4' threads='2'/>
      <feature name='osxsave'/>
      <feature name='pdcm'/>
      <feature name='xtpr'/>
      <feature name='tm2'/>
      <feature name='est'/>
      <feature name='smx'/>
      <feature name='vmx'/>
      <feature name='ds_cpl'/>
      <feature name='monitor'/>
      <feature name='dtes64'/>
      <feature name='pbe'/>
      <feature name='tm'/>
      <feature name='ht'/>
      <feature name='ss'/>
      <feature name='acpi'/>
      <feature name='ds'/>
      <feature name='vme'/>
    </cpu>
    <power_management>
      <suspend_mem/>
      <suspend_disk/>
      <suspend_hybrid/>
    </power_management>
    <migration_features>
      <live/>
      <uri_transports>
        <uri_transport>tcp</uri_transport>
      </uri_transports>
    </migration_features>
    <topology>
      <cells num='1'>
        <cell id='0'>
          <cpus num='8'>
            <cpu id='0'/>
            <cpu id='1'/>
            <cpu id='2'/>
            <cpu id='3'/>
            <cpu id='4'/>
            <cpu id='5'/>
            <cpu id='6'/>
            <cpu id='7'/>
          </cpus>
        </cell>
      </cells>
    </topology>
  </host>

  <guest>
    <os_type>hvm</os_type>
    <arch name='i686'>
      <wordsize>32</wordsize>
      <emulator>/usr/bin/kvm</emulator>
      <machine>pc-1.1</machine>
      <machine canonical='pc-1.1'>pc</machine>
      <machine>pc-1.0</machine>
      <machine>pc-0.15</machine>
      <machine>pc-0.14</machine>
      <machine>pc-0.13</machine>
      <machine>pc-0.12</machine>
      <machine>pc-0.11</machine>
      <machine>pc-0.10</machine>
      <machine>isapc</machine>
      <domain type='qemu'>
      </domain>
      <domain type='kvm'>
        <emulator>/usr/bin/kvm</emulator>
      </domain>
    </arch>
    <features>
      <cpuselection/>
      <deviceboot/>
      <pae/>
      <nonpae/>
      <acpi default='on' toggle='yes'/>
      <apic default='on' toggle='no'/>
    </features>
  </guest>

  <guest>
    <os_type>hvm</os_type>
    <arch name='x86_64'>
      <wordsize>64</wordsize>
      <emulator>/usr/bin/kvm</emulator>
      <machine>pc-1.1</machine>
      <machine canonical='pc-1.1'>pc</machine>
      <machine>pc-1.0</machine>
      <machine>pc-0.15</machine>
      <machine>pc-0.14</machine>
      <machine>pc-0.13</machine>
      <machine>pc-0.12</machine>
      <machine>pc-0.11</machine>
      <machine>pc-0.10</machine>
      <machine>isapc</machine>
      <domain type='qemu'>
      </domain>
      <domain type='kvm'>
        <emulator>/usr/bin/kvm</emulator>
      </domain>
    </arch>
    <features>
      <cpuselection/>
      <deviceboot/>
      <acpi default='on' toggle='yes'/>
      <apic default='on' toggle='no'/>
    </features>
  </guest>

</capabilities>

2013-02-21 14:25:39,885 (connection:607): Connection managed save support: True
2013-02-21 14:25:39,945 (connection:189): Using libvirt API for netdev
enumeration
2013-02-21 14:25:39,948 (connection:229): Using libvirt API for mediadev
enumeration
2013-02-21 14:25:47,625 (details:535): Showing VM details: <vmmDomain object at
0x22183c0 (virtManager+domain+vmmDomain at 0x22a0820)>
2013-02-21 14:25:47,692 (engine:471): window counter incremented to 2
2013-02-21 14:25:47,698 (console:1075): Starting connect process for
proto=spice trans=None connhost=localhost connuser=None connport=None
gaddr=127.0.0.1 gport=5900 gsocket=None
2013-02-21 14:25:47,699 (console:490): spice uri: spice://localhost?port=5900

(virt-manager:16431): vnc-keymap-WARNING **: Unknown keycode mapping 'evdev'.
Please report to gtk-vnc-list at gnome.org
including the following information:

  - Operating system
  - GDK build
  - X11 Server
  - xprop -root
  - xdpyinfo

2013-02-21 14:25:47,858 (console:986): Viewer connected



-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages virt-manager depends on:
ii  gconf2                   3.2.5-1+build1
ii  librsvg2-common          2.36.1-1
ii  python                   2.7.3-4
ii  python-dbus              1.1.1-1
ii  python-glade2            2.24.0-3+b1
ii  python-gnome2            2.28.1+dfsg-1
ii  python-gtk-vnc           0.5.0-3.1
ii  python-gtk2              2.24.0-3+b1
ii  python-ipy               1:0.75-1
ii  python-libvirt           0.9.12-6
ii  python-spice-client-gtk  0.12-5
ii  python-support           1.0.15
ii  python-urlgrabber        3.9.1-4
ii  python-vte               1:0.28.2-5
ii  virtinst                 0.600.1-3

Versions of packages virt-manager recommends:
ii  gnome-icon-theme  3.4.0-2
ii  libvirt-bin       0.9.12-6

Versions of packages virt-manager suggests:
ii  gnome-keyring                         3.4.1-5
pn  hal                                   <none>
pn  python-gnomekeyring                   <none>
pn  python-guestfs                        <none>
ii  ssh-askpass-fullscreen [ssh-askpass]  0.3-3.1
pn  virt-viewer                           <none>

-- no debconf information



More information about the Pkg-libvirt-maintainers mailing list