[libvirt-users] Libvirt fullscreen sdl problem

Дориан Грей stein.hak at gmail.com
Fri Nov 21 10:33:57 UTC 2014


Hi all,

I use libvirt/kvm for my virtualization needs and have a little scerio in
mind that I want to implement: a small linux box boots up, launches an X
session and after that launches a virtual machine with a fullscreen sdl
window, With this I hope to achive several goals: user gets a familiar
experience with guest os ( I had windows in mind), near native graphics
responsiveness ( we deploy cctv video servers and viewing live video in a
virt machine is a must) and security based on isolation from i/o ports.

But when I tried this scenario with
<graphics type='sdl' display=':0.0' xauth='/home/stein/.XAuthority'/>

in xml file I got:

linux-aeo3:/etc/libvirt/qemu # virsh start wintest
setlocale: No such file or directory
error: Failed to start domain wintest
error: internal error: early end of file from monitor: possible problem:
No protocol specified
xcb_connection_has_error() returned true
pulseaudio: pa_context_connect() failed
pulseaudio: Reason: Connection refused
pulseaudio: Failed to initialize PA contextaudio: Could not init `pa' audio
driver
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
alsa: Could not initialize DAC
alsa: Failed to open `default':
alsa: Reason: Device or resource busy
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
alsa: Could not initialize DAC
alsa: Failed to open `default':
alsa: Reason: Device or resource busy
audio: Failed to create voice `dac'
No protocol specified
Could not initialize SDL(No available video device) - exiting

Even if I disable audio and get rid of alsa problems, I still get Could not
initialize SDL(No available video device) - exiting error.

What am I doing wrong?

Please not that lauching qemu-kvm with sdl window goes without problems.

Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20141121/ecdb8bd2/attachment.htm>


More information about the libvirt-users mailing list