Re: [Qemu-devel] [PATCH] set $SDL_VIDEODRIVER=x11 on Linux to prevent sudo kvm from fighting for video card

2011-05-14 Thread Aurelien Jarno
On Sun, May 08, 2011 at 01:18:30AM +0400, Michael Tokarev wrote: > Signed-off-by: Michael Tokarev > --- > ui/sdl.c | 12 > 1 files changed, 12 insertions(+), 0 deletions(-) Thanks, applied. > diff --git a/ui/sdl.c b/ui/sdl.c > index dc5c3a1..14a62d9 100644 > --- a/ui/sdl.c > +++

[Qemu-devel] [PATCH] set $SDL_VIDEODRIVER=x11 on Linux to prevent sudo kvm from fighting for video card

2011-05-12 Thread Michael Tokarev
This is a resend of email sent 08.05.2011 01:18. On Linux, SDL may use fbcon|directfb|svgalib when run without accessible $DISPLAY to open X11 window. This is often the case when qemu is run using sudo. But in this case, and when actually run in X11 environment, SDL fights with X11 for the video

Re: [Qemu-devel] [PATCH] set $SDL_VIDEODRIVER=x11 on Linux to prevent sudo kvm from fighting for video card

2011-05-07 Thread Alexander Graf
On 07.05.2011, at 23:18, Michael Tokarev wrote: > Signed-off-by: Michael Tokarev This has been haunting users ever since I know of qemu. Thanks a lot for writing up the patch! Acked-by: Alexander Graf Alex

[Qemu-devel] [PATCH] set $SDL_VIDEODRIVER=x11 on Linux to prevent sudo kvm from fighting for video card

2011-05-07 Thread Michael Tokarev
Signed-off-by: Michael Tokarev --- ui/sdl.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/ui/sdl.c b/ui/sdl.c index dc5c3a1..14a62d9 100644 --- a/ui/sdl.c +++ b/ui/sdl.c @@ -831,6 +831,18 @@ void sdl_display_init(DisplayState *ds, int full_screen, int no_fr