xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: "Chun Yan Liu" <cyliu@suse.com>
To: xen-devel@lists.xen.org
Subject: issue: xen pv guest text mode key press by TigerVNC
Date: Fri, 11 Mar 2016 02:37:50 -0700	[thread overview]
Message-ID: <56E3026E02000066000B9654@prv-mh.provo.novell.com> (raw)

Hi, List,

Currently after switch from TightVNC to TigerVNC, found a key-press issue
in XEN pv guest, after investigation by myself, didn't find root cause yet,
could anyone help to have a look or have some idea?

Following is a description of the issue and some investigation result:

In Xen pv guest text mode, when press a key for long time, it's expected to
show the key repeately, but actual result is it only shows one. (e.g, press
 'p' for long time, should show 'ppppp', but actually it just show 'p').
When using TightVNC, it has no problem.
After investigation:
1. TightVNC send "keydown, keyup, keydown, keyup" in this case,
has no problem in result.
2. TigerVNC send "keydown, keydown, keydown, keyup" in this case,
will have problem.
3. In Xen HVM guest text mode, also with TigerVNC, but has no problem.
4. In debugging, I set breakpoint at qemu ps2.c ps2_put_keycode for
comparison with pv guest code path (qemu hw/display/xenfb.c:
xenfb_kbd_event), however, after set breakpoint, on HVM guest,
it also has problem, only shown one 'p'.

I checked kernel code drivers/xen/fbfront/xenkbd.c and traced down,
but couldn't see where is the problem.

Any ideas?

Thanks,
Chunyan 


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

                 reply	other threads:[~2016-03-11  9:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=56E3026E02000066000B9654@prv-mh.provo.novell.com \
    --to=cyliu@suse.com \
    --cc=xen-devel@lists.xen.org \
    /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;
as well as URLs for NNTP newsgroup(s).