I compiled KVM support into my kernel and installed qemu and virt-manager. When creating VM in virt-manager I'm able to start it, which looks like this (it's also very slow):
http://shrani.si/f/v/wb/3cjyZPfY/qemu2.png
Sometimes only this is displayed:
http://shrani.si/f/38/WW/3RGKaFBc/qemu3.png
After that when the VM grabs my mouse, I cannot use mouse or keyboard; they just don't work. They work only if I make a change, close the window, reopen the window, which is a nightmare, because they don't work in real-time.
I'm not sure what's wrong but I sure do need help. Let me also present the used USE flags:
# equery uses app-emulation/virt-manager
- - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see
+ + gnome-keyring : Enable support for storing passwords via gnome-keyring
- - policykit : Enables sys-auth/polkit authentication support, required when using app-emulation/libvirt with PolicyKit authentication
- - python_single_target_python2_6 : Build for Python 2.6 only
+ + python_single_target_python2_7 : Build for Python 2.7 only
- - python_targets_python2_6 : Build with Python 2.6
+ + python_targets_python2_7 : Build with Python 2.7
- - sasl : Depend on the proper libraries needed to connect to SASL-enabled libvirtd instances (e.g. Kerberos-protected instances).
# equery uses qemu
- - accessibility : Adds support for braille displays using brltty
+ + aio : Enables support for Linux's Async IO
+ + alsa : Enable alsa output for sound emulation
- - bluetooth : Enable Bluetooth Support
+ + caps : Use Linux capabilities library to control privilege
+ + curl : Support ISOs / -cdrom directives vis HTTP or HTTPS.
- - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see
http://www.gentoo.org/proj/en/qa/backtraces.xml
- - fdt : Enables firmware device tree support
+ + filecaps : Use Linux file capabilities to control privilege rather than set*id
+ + gtk : Add support for x11-libs/gtk+ (The GIMP Toolkit)
- - iscsi : Enable direct iSCSI support via net-libs/libiscsi instead of indirectly via the Linux block layer that sys-block/open-iscsi does.
+ + jpeg : Enable jpeg image support for the VNC console server
- - mixemu : Enable audio mixer emulation. On Fedora, known to cause performance problems when using SDL output and ALSA. For OSS, locks the sound device from other applications.
+ + ncurses : Enable the ncurses-based console
- - opengl : Add support for OpenGL (3D graphics)
+ + png : Enable png image support for the VNC console server
+ + pulseaudio : Enable pulseaudio output for sound emulation
+ + python : Add optional support/bindings for the Python language
- - python_targets_python2_6 : Build with Python 2.6
+ + python_targets_python2_7 : Build with Python 2.7
- - qemu_softmmu_targets_alpha : system emulation target
- - qemu_softmmu_targets_arm : system emulation target
- - qemu_softmmu_targets_cris : system emulation target
+ + qemu_softmmu_targets_i386 : system emulation target
- - qemu_softmmu_targets_lm32 : LatticeMico32 system emulation target
- - qemu_softmmu_targets_m68k : system emulation target
- - qemu_softmmu_targets_microblaze : system emulation target
- - qemu_softmmu_targets_microblazeel : system emulation target
- - qemu_softmmu_targets_mips : system emulation target
- - qemu_softmmu_targets_mips64 : system emulation target
- - qemu_softmmu_targets_mips64el : system emulation target
- - qemu_softmmu_targets_mipsel : system emulation target
- - qemu_softmmu_targets_moxie : moxielogic system emulation target
- - qemu_softmmu_targets_or32 : OpenRISC system emulation target
+ + qemu_softmmu_targets_ppc : system emulation target
+ + qemu_softmmu_targets_ppc64 : system emulation target
- - qemu_softmmu_targets_ppcemb : system emulation target [81/351]
- - qemu_softmmu_targets_s390x : system emulation target
- - qemu_softmmu_targets_sh4 : system emulation target
- - qemu_softmmu_targets_sh4eb : system emulation target
- - qemu_softmmu_targets_sparc : system emulation target
- - qemu_softmmu_targets_sparc64 : system emulation target
- - qemu_softmmu_targets_unicore32 : system emulation target
+ + qemu_softmmu_targets_x86_64 : system emulation target
- - qemu_softmmu_targets_xtensa : system emulation target
- - qemu_softmmu_targets_xtensaeb : system emulation target
- - qemu_user_targets_alpha : userspace emulation target
+ + qemu_user_targets_arm : userspace emulation target
- - qemu_user_targets_armeb : userspace emulation target
- - qemu_user_targets_cris : userspace emulation target
+ + qemu_user_targets_i386 : userspace emulation target
- - qemu_user_targets_m68k : userspace emulation target
- - qemu_user_targets_microblaze : userspace emulation target
- - qemu_user_targets_microblazeel : userspace emulation target
- - qemu_user_targets_mips : userspace emulation target
- - qemu_user_targets_mips64 : userspace emulation target
- - qemu_user_targets_mips64el : userspace emulation target
- - qemu_user_targets_mipsel : userspace emulation target
- - qemu_user_targets_mipsn32 : MIPS N32 ABI userspace emulation target
- - qemu_user_targets_mipsn32el : MIPS N32 ABI LE userspace emulation target
- - qemu_user_targets_or32 : OpenRISC userspace emulation target
- - qemu_user_targets_ppc : userspace emulation target
- - qemu_user_targets_ppc64 : userspace emulation target
- - qemu_user_targets_ppc64abi32 : userspace emulation target
- - qemu_user_targets_s390x : userspace emulation target
- - qemu_user_targets_sh4 : userspace emulation target
- - qemu_user_targets_sh4eb : userspace emulation target
- - qemu_user_targets_sparc : userspace emulation target
- - qemu_user_targets_sparc32plus : userspace emulation target
- - qemu_user_targets_sparc64 : userspace emulation target
- - qemu_user_targets_unicore32 : userspace emulation target
+ + qemu_user_targets_x86_64 : userspace emulation target
- - rbd : Enable rados block device backend support, see http://ceph.newdream.net/wiki/QEMU-RBD
- - sasl : Add support for the Simple Authentication and Security Layer
- - sdl : Enable the SDL-based console
+ + seccomp : Utilize sys-libs/libseccomp to enable kernel filtering of system calls to prevent malicious guests from doing damage.
- - smartcard : Enable smartcard support
+ + spice : Enable Spice protocol support via app-emulation/spice
- - static : Enables both 'static-softmmu' and 'static-user'
- - static-softmmu : Builds the Software MMU (system) targets as static binaries
- - static-user : Build the User targets as static binaries
- - systemtap : Enable SystemTAP/DTrace tracing
- - tci : Enable the TCG Interpreter which can speed up or slowdown workloads depending on the host and guest CPUs being emulated. In the future it
will be a runtime option but for now its compile time.
- - test : Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in
make.conf/package.use anymore
+ + threads : Add threads support for various packages. Usually pthreads
- - tls : Enable TLS support for the VNC console server. For 1.4 and newer this also enables WebSocket support.
- - usbredir : Use sys-apps/usbredir to redirect USB devices to another machine over TCP
+ + uuid : Enable UUID support in the vdi block driver
- - vde : Enable VDE-based networking
+ + vhost-net : Enable accelerated networking using vhost-net, see http://www.linux-kvm.org/page/VhostNet
- - virtfs : Enable VirtFS via virtio-9p-pci / fsdev. See http://wiki.qemu.org/Documentation/9psetup
+ + vnc : Enable VNC (remote desktop viewer) support
+ + xattr : Add support for getting and setting POSIX extended attributes, through sys-apps/attr. Requisite for the virtfs backend.
- - xen : Enables support for Xen backends
+ + xfs : Support xfsctl() notification and syncing for XFS backed virtual disks.
I aslo have to mention that I'm running hardened gentoo.
I appreciate any ideas.
Thank you


