Commit-ID: d20f8eec24b4e54d5975e1cdba563a87e3b51b85 Gitweb: http://git.kernel.org/tip/d20f8eec24b4e54d5975e1cdba563a87e3b51b85 Author: Sasha Levin <levinsasha928@xxxxxxxxx> AuthorDate: Thu, 11 Aug 2011 23:41:50 +0300 Committer: Pekka Enberg <penberg@xxxxxxxxxx> CommitDate: Fri, 12 Aug 2011 11:04:36 +0300 kvm tools: Speed up PS/2 mouse detection This patch speeds up PS/2 mouse detection by switching to the fastest probing method compatible with kvm tools i8042 emulation. The result is detection taking < 0.5 sec instead of >5 sec. Tested-by: Asias He <asias.hejun@xxxxxxxxx> Signed-off-by: Sasha Levin <levinsasha928@xxxxxxxxx> Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxx> --- tools/kvm/builtin-run.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/kvm/builtin-run.c b/tools/kvm/builtin-run.c index be61304..2816774 100644 --- a/tools/kvm/builtin-run.c +++ b/tools/kvm/builtin-run.c @@ -587,7 +587,7 @@ int kvm_cmd_run(int argc, const char **argv, const char *prefix) vidmode = 0; memset(real_cmdline, 0, sizeof(real_cmdline)); - strcpy(real_cmdline, "notsc noapic noacpi pci=conf1 reboot=k panic=1"); + strcpy(real_cmdline, "notsc noapic noacpi pci=conf1 reboot=k panic=1 i8042.direct=1 i8042.dumbkbd=1 i8042.nopnp=1"); if (vnc || sdl) { strcat(real_cmdline, " video=vesafb console=tty0"); } else -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html