public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Sasha Levin <levinsasha928@gmail.com>
To: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: kvm@vger.kernel.org, mingo@elte.hu, asias.hejun@gmail.com,
	gorcunov@gmail.com
Subject: Re: [PATCH 2/2] kvm tools: Don't use i8042 AUX port
Date: Wed, 14 Sep 2011 10:16:23 +0300	[thread overview]
Message-ID: <1315984583.3744.8.camel@lappy> (raw)
In-Reply-To: <CAOJsxLGoOjjLzPeipDZYB37pU5FLWh93JjFWvWZw_H2=PRnBuA@mail.gmail.com>

On Wed, 2011-09-14 at 10:14 +0300, Pekka Enberg wrote:
> On Wed, Sep 14, 2011 at 10:11 AM, Sasha Levin <levinsasha928@gmail.com> 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 <levinsasha928@gmail.com>
> > ---
> >  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.


  reply	other threads:[~2011-09-14  7:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-14  7:11 [PATCH 1/2] kvm tools: Use kernel dhcp for network autoconfiguration Sasha Levin
2011-09-14  7:11 ` [PATCH 2/2] kvm tools: Don't use i8042 AUX port Sasha Levin
2011-09-14  7:14   ` Pekka Enberg
2011-09-14  7:16     ` Sasha Levin [this message]
2011-09-14  7:21       ` Pekka Enberg
2011-09-14  7:21         ` Sasha Levin
2011-09-14 11:57 ` [PATCH 1/2] kvm tools: Use kernel dhcp for network autoconfiguration Asias He

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1315984583.3744.8.camel@lappy \
    --to=levinsasha928@gmail.com \
    --cc=asias.hejun@gmail.com \
    --cc=gorcunov@gmail.com \
    --cc=kvm@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=penberg@cs.helsinki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox