From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z46x3-0005Dv-Kz for qemu-devel@nongnu.org; Sun, 14 Jun 2015 08:23:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z46wy-0004RA-JA for qemu-devel@nongnu.org; Sun, 14 Jun 2015 08:23:49 -0400 Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]:33952) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z46wy-0004Qa-BF for qemu-devel@nongnu.org; Sun, 14 Jun 2015 08:23:44 -0400 Received: by wgv5 with SMTP id 5so50209406wgv.1 for ; Sun, 14 Jun 2015 05:23:43 -0700 (PDT) Received: from [10.42.42.2] ([46.13.160.61]) by mx.google.com with ESMTPSA id ib8sm11324148wjb.12.2015.06.14.05.23.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Jun 2015 05:23:42 -0700 (PDT) Message-ID: <557D724C.7030104@gmail.com> Date: Sun, 14 Jun 2015 14:23:40 +0200 From: Jiri 'Ghormoon' Novak MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] writing to quest's ps2 keyboard List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, I'm attempting my first hack of qemu, though I've got stuck on how to correctly write to ps/2 input in the guest. My idea was that if I create new keyboard (using void *ps2_kbd_init) I can use that one to write (void ps2_write_keyboard). The problem is, that this does not seem to do anything in the guest. No new keyboard in /dev/input, no input given. What am I missing? or would it be better to somehow get pointer to the "primary" one and write to that? Thanks, Ghor