severity 612036 minor retitle 612036 sdl requires special configuration thanks,
On Sat, Feb 05, 2011 at 12:29:41PM +1100, david b wrote: > Package: virt-manager > Severity: important > > 1. I configured a kvm guest to use a local sdl window. > 2. I then tried to boot the vm > 3. this did not work - I got an error stating "libvirtError: operation > failed: failed to retrieve chardev info in qemu with 'info chardev'" > 4. I chowned my Xauthority file to be owned by my user and the libvirt group > - (and chmoded it 640). > 5. I tried to launch the vm again. > 6. - I encountered this --> > "commandline read: virtio-blk-pci,b : Traceback (most recent call last): > File "/usr/share/virt-manager/virtManager/engine.py", line 808, in > run_domain > vm.startup() > File "/usr/share/virt-manager/virtManager/domain.py", line 1296, in startup > self._backend.create() > File "/usr/lib/python2.6/dist-packages/libvirt.py", line 333, in create > if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self) > libvirtError: internal error process exited while connecting to monitor: char > device redirected to /dev/pts/18 > " Unfortunately you didn't provide the domain log nor the domain configuration (e.g. it's not clear if you pass XAUTHORITY correctly). However sdl works fine if: clear_emulator_capabilities = 0 user = root group = root in /etc/libvirt/qemu.conf. Otherwise kvm fails with: ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.2.10 |~~~~~~~~~~~~~~~~~~~~~~~~~~ (c) 2001-2008 The world wide DirectFB Open Source Community (c) 2000-2004 Convergence (integrated media) GmbH ---------------------------------------------------------------- (*) DirectFB/Core: Single Application Core. (2010-06-30 18:37) (!) Direct/Util: opening '/dev/fb0' failed --> Operation not permitted (!) DirectFB/FBDev: Error opening framebuffer device! (!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable. (!) DirectFB/Core: Could not initialize 'system_core' core! --> Initialization error! Cheers, -- Guido > and the vm doesn't boot. > The /dev/pts/18 'file' has the following permissions: > crw--w---- 1 myuser tty 136, 18 Feb 5 12:06 /dev/pts/18 > > > -- System Information: > Debian Release: 6.0 > APT prefers testing > APT policy: (500, 'testing'), (500, 'stable') > Architecture: amd64 (x86_64) > > Kernel: Linux 2.6.37 (SMP w/4 CPU cores) > Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/bash > > > > _______________________________________________ > Pkg-libvirt-maintainers mailing list > pkg-libvirt-maintain...@lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/pkg-libvirt-maintainers > -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org