From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anwar Ghani Subject: Registering key events android (qemu based) emulator Date: Mon, 11 Jan 2010 11:33:20 -0800 (PST) Message-ID: <269360.15204.qm@web59906.mail.ac4.yahoo.com> References: <4B4B7988.5090803@codemonkey.ws> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0-86365931-1263238400=:15204" Cc: Marcelo Tosatti , Jan Kiszka , qemu-devel@nongnu.org, kvm-devel , Avi Kivity To: Gleb Natapov , Anthony Liguori Return-path: In-Reply-To: <4B4B7988.5090803@codemonkey.ws> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: kvm.vger.kernel.org --0-86365931-1263238400=:15204 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi All guys I am a bit new to this stuff. I want to call a method after user press= es a combination of keys lets say alt+s or whatever. How can I do it using = which event handler. Best Regards =0A =0AAnwar Ghani =0A+31 647 344 773 --- On Mon, 1/11/10, Anthony Liguori wrote: From: Anthony Liguori Subject: Re: [Qemu-devel] [PATCHv2] Add KVM paravirt cpuid leaf To: "Gleb Natapov" Cc: "Marcelo Tosatti" , "Jan Kiszka" , qemu-devel@nongnu.org, "kvm-devel" , "Avi Kivity" = Date: Monday, January 11, 2010, 7:18 PM On 01/07/2010 10:24 AM, Gleb Natapov wrote: > diff --git a/target-i386/kvm.c b/target-i386/kvm.c > index 4084503..6a841de 100644 > --- a/target-i386/kvm.c > +++ b/target-i386/kvm.c > @@ -17,6 +17,7 @@ >=A0=A0=A0#include >=20 >=A0=A0=A0#include > +#include This breaks the build on a default F12 install because while kvm.h is prese= nt, kvm_para.h is not.=A0 This is a hard one to fix. We can default the kvm search path to /lib/modules/$(uname -r)/build, we ca= n fix the glibc headers and live with it, or we can pull in the kvm headers= into qemu. Avi/Marcelo/Jan, any thoughts from the qemu-kvm side? Regards, Anthony Liguori =0A=0A=0A --0-86365931-1263238400=:15204 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hi All

guys I am a bit new to this stu= ff. I want to call a method after user presses a combination of keys lets s= ay alt+s or whatever. How can I do it using which event handler.

Bes= t Regards
=0A
=0AAnwar Ghani
=0A+31 647 344 773

--- On M= on, 1/11/10, Anthony Liguori <anthony@codemonkey.ws> wrote= :

From: Anthony Liguori <anthony@codemon= key.ws>
Subject: Re: [Qemu-devel] [PATCHv2] Add KVM paravirt cpuid le= af
To: "Gleb Natapov" <gleb@redhat.com>
Cc: "Marcelo Tosatti" &= lt;mtosatti@redhat.com>, "Jan Kiszka" <jan.kiszka@web.de>, qemu-de= vel@nongnu.org, "kvm-devel" <kvm@vger.kernel.org>, "Avi Kivity" <a= vi@redhat.com>
Date: Monday, January 11, 2010, 7:18 PM

On 01/07/2010 10:24 AM, Gleb Natapov wrote:
> diff = --git a/target-i386/kvm.c b/target-i386/kvm.c
> index 4084503..6a841d= e 100644
> --- a/target-i386/kvm.c
> +++ b/target-i386/kvm.c> @@ -17,6 +17,7 @@
>   #include<sys/mman.h>=
>
>   #include<linux/kvm.h>
> +#include<= ;linux/kvm_para.h>

This breaks the build on a default F12 install= because while kvm.h is present, kvm_para.h is not.  This is a hard on= e to fix.

We can default the kvm search path to /lib/modules/$(uname= -r)/build, we can fix the glibc headers and live with it, or we can pull i= n the kvm headers into qemu.

Avi/Marcelo/Jan, any thoughts from the = qemu-kvm side?

Regards,

Anthony Liguori



=0A=0A --0-86365931-1263238400=:15204--