From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Levin Subject: Re: [PATCH 2/2] kvm tools: Don't use i8042 AUX port Date: Wed, 14 Sep 2011 10:16:23 +0300 Message-ID: <1315984583.3744.8.camel@lappy> References: <1315984270-4402-1-git-send-email-levinsasha928@gmail.com> <1315984270-4402-2-git-send-email-levinsasha928@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, mingo@elte.hu, asias.hejun@gmail.com, gorcunov@gmail.com To: Pekka Enberg Return-path: Received: from mail-ey0-f174.google.com ([209.85.215.174]:57588 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755513Ab1INHQx (ORCPT ); Wed, 14 Sep 2011 03:16:53 -0400 Received: by eyx24 with SMTP id 24so791201eyx.19 for ; Wed, 14 Sep 2011 00:16:52 -0700 (PDT) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Wed, 2011-09-14 at 10:14 +0300, Pekka Enberg wrote: > On Wed, Sep 14, 2011 at 10:11 AM, Sasha Levin wrote: > > We currently don't have sufficient support for mouse, this patch disables > > it by default to prevent the delay when booting. > > > > It should be removed once sufficient mouse support is added. > > > > Signed-off-by: Sasha Levin > > --- > > tools/kvm/builtin-run.c | 3 ++- > > 1 files changed, 2 insertions(+), 1 deletions(-) > > > > diff --git a/tools/kvm/builtin-run.c b/tools/kvm/builtin-run.c > > index 465bbe7..2795115 100644 > > --- a/tools/kvm/builtin-run.c > > +++ b/tools/kvm/builtin-run.c > > @@ -736,7 +736,8 @@ 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 i8042.direct=1 i8042.dumbkbd=1 i8042.nopnp=1"); > > + strcpy(real_cmdline, "notsc noapic noacpi pci=conf1 reboot=k panic=1 i8042.direct=1 " > > + "i8042.dumbkbd=1 i8042.nopnp=1 i8042.noaux=1"); > > if (vnc || sdl) { > > strcat(real_cmdline, " video=vesafb console=tty0"); > > } else > > What's the problem? IIRC mouse works just fine in VNC mode? The problem is that it causes a pretty long delay (~5-6 sec) during boot. VNC mouse could use some more love before I'd say it's good, one example that the host mouse and guest mouse aren't synced. -- Sasha.