
Has anyone ever tried this? Or this is barely supported scenario? Kind of confused here 2014-11-21 13:33 GMT+03:00 Дориан Грей <stein.hak@gmail.com>:
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!