From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55050) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VpvVu-0006br-MW for qemu-devel@nongnu.org; Mon, 09 Dec 2013 02:44:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VpvVt-0006yl-J3 for qemu-devel@nongnu.org; Mon, 09 Dec 2013 02:44:22 -0500 MIME-Version: 1.0 In-Reply-To: <20131209073445.GA30855@type> References: <20131209073445.GA30855@type> Date: Mon, 9 Dec 2013 12:44:20 +0500 Message-ID: From: Maryyam Muhammad Din Content-Type: multipart/alternative; boundary=047d7b6d9e7ef7906704ed15293c Subject: Re: [Qemu-devel] Keyboard interrupt routing from QEMU to guest OS List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Samuel Thibault Cc: qemu-devel@nongnu.org, qemu-discuss@nongnu.org --047d7b6d9e7ef7906704ed15293c Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I have gone through the source code of QEMU but could not figure out how external interrupts are handled by QEMU for guest. I have tried gdb and print statements for debugging but there are no conclusive results. If anyone have experience in debugging QEMU with gdb or any other tool please guide me. Thank You On Mon, Dec 9, 2013 at 12:34 PM, Samuel Thibault w= rote: > Maryyam Muhammad Din, le Mon 09 Dec 2013 12:25:23 +0500, a =E9crit : > > I am unable to figure-out when someone presses control-c on the keyboar= d, > > how host OS routes it to QEMU and how QEMU then > > routes it to the guest? > > It depends which QEMU UI you are using. > > > Please suggest me how can I extract complete control flow. > > Well, you can read the source for instance :) > > Samuel > --=20 Maryyam Muhammad Din Al-Khawarizmi Institute of Computer Science UET Lahore --047d7b6d9e7ef7906704ed15293c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I have gone through the source code of QEMU but could not = figure out how external interrupts are handled by QEMU for guest. I have tr= ied gdb and print statements for debugging but there are no conclusive resu= lts. If anyone have experience in debugging QEMU with gdb or any other tool= please guide me.=A0
Thank You=A0


On Mon, Dec 9, 2013 at 12:34 PM, Samuel Thibault <samuel.= thibault@gnu.org> wrote:
Maryyam Muhammad Din, le Mon 09 Dec 2013 12:= 25:23 +0500, a =E9crit :
> I am unable to=A0figure-out=A0when someone presses c= ontrol-c on the keyboard,
> how host OS routes it to QEMU and how QEMU then
> routes it to the guest?=A0

It depends which QEMU UI you are using.

> Please suggest me how can I extract complete control flow.

Well, you can read the source for instance :)

Samuel



--
Maryyam Muhammad Din
Al-Khawarizmi Institute of= Computer Science
UET Lahore
--047d7b6d9e7ef7906704ed15293c--