From e1ff32ac26283c256d20698dad15602ec47ffdf5 Mon Sep 17 00:00:00 2001 From: Asias He Date: Fri, 13 Apr 2012 19:44:38 +0800 Subject: [PATCH] kvm tools: Fix sdl hang Commit b4a932d175c6aa975c456e9b05339aa069c961cb sets sdl's .start ops to sdl__stop which makes the sdl never start. Fix it up. Signed-off-by: Asias He Signed-off-by: Pekka Enberg --- tools/kvm/ui/sdl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/kvm/ui/sdl.c b/tools/kvm/ui/sdl.c index fa5d9c89fbaf..708b9a9b9ff9 100644 --- a/tools/kvm/ui/sdl.c +++ b/tools/kvm/ui/sdl.c @@ -289,7 +289,7 @@ static int sdl__stop(struct framebuffer *fb) static struct fb_target_operations sdl_ops = { .start = sdl__start, - .start = sdl__stop, + .stop = sdl__stop, }; int sdl__init(struct framebuffer *fb) -- 2.39.5