From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IhcE9-0000zd-5O for qemu-devel@nongnu.org; Mon, 15 Oct 2007 22:32:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IhcE7-0000wB-Kv for qemu-devel@nongnu.org; Mon, 15 Oct 2007 22:32:12 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhcE7-0000vm-Ew for qemu-devel@nongnu.org; Mon, 15 Oct 2007 22:32:11 -0400 Received: from mail.codesourcery.com ([65.74.133.4]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IhcE6-0008U1-No for qemu-devel@nongnu.org; Mon, 15 Oct 2007 22:32:11 -0400 From: Paul Brook Subject: Re: [Qemu-devel] handling SIGWINCH with qemu -nographic Date: Tue, 16 Oct 2007 03:32:02 +0100 References: <471410B1.3030703@gmail.com> In-Reply-To: <471410B1.3030703@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710160332.04487.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Tuesday 16 October 2007, Jeff Carr wrote: > Has anyone looked into finding a way to pass SIGWINCH through to the > guest? I started looking at linux-user/signal.c. > > For those that might not be familiar with SIGWINCH, supporting it > would allow qemu -nographic to tell when the terminal is a different > size than 80x24. qemu emulates a real machine. Signals are an operating system concept, so your question makes no sense. Configure your guest OS exactly the same way you would a real machine with a serial console. The linux-user code is for the userspace emulation. You're obviously using the full system emulation. Paul