From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:40653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPh3k-0008TN-M9 for qemu-devel@nongnu.org; Thu, 26 May 2011 16:21:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QPh3k-0005ug-1F for qemu-devel@nongnu.org; Thu, 26 May 2011 16:21:32 -0400 Received: from seketeli.net ([91.121.166.71]:35500 helo=ms.seketeli.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPh3j-0005re-TI for qemu-devel@nongnu.org; Thu, 26 May 2011 16:21:31 -0400 Received: from localhost (lan31-2-82-224-70-10.fbx.proxad.net [82.224.70.10]) by ms.seketeli.net (Postfix) with ESMTP id 1066AEA040 for ; Thu, 26 May 2011 21:58:30 +0200 (CEST) Date: Thu, 26 May 2011 21:59:01 +0200 From: Apelete Seketeli Message-ID: <20110526195900.GE2849@hermes> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] Booting custom kernel in qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hello, I'm trying to boot a custom linux kernel in qemu, and I plan to contribute the necessary work to make it work (this is the first step I'm taking to add OS support in qemu). I'm totally new to qemu, and I haven't found enough information to know how to start debugging the thing, so I thought of asking here. I wanted to launch the kernel in a terminal for practical purposes, so I tried: qemu -kernel bzImage -append console=ttyS0 There still was no output in the terminal after that, so I'm planning to attach qemu to gdb, and try to debug it that way. Can you please provide some help on how to debug the kernel in qemu ? -- Apelete