Skip to contentSkip to conversation

kvm tools, ui: Add simple keyboard support to SDL UI

PATCH New Pekka Enberg 1 participant 1 message Jun 7, 2011 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kvm tools, ui: Add simple keyboard support to SDL UI

This patch wires up hw/i8042.c to the SDL UI for simple guest keyboard support.

Cc Cyrill Gorcunov <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc John Floren <[email protected]>
Cc Sasha Levin <[email protected]>
---
 tools/kvm/kvm-run.c |    1 +
 tools/kvm/ui/sdl.c  |   76 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+), 0 deletions(-)
tools/kvm/kvm-run.c +1 -0
index 8398287..b688ef7 100644
@@ -643,6 +643,7 @@ int kvm_cmd_run(int argc, const char **argv, const char *prefix)
 	}
 
 	if (sdl) {
+		kbd__init(kvm);
 		if (fb)
 			sdl__init(fb);
 	}
tools/kvm/ui/sdl.c +76 -0

100 lines not on this page · raw message

Signature · 1 line
1.7.0.4