From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756907AbYJPMAW (ORCPT ); Thu, 16 Oct 2008 08:00:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754367AbYJPMAI (ORCPT ); Thu, 16 Oct 2008 08:00:08 -0400 Received: from mtagate8.uk.ibm.com ([195.212.29.141]:36352 "EHLO mtagate8.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753157AbYJPMAG (ORCPT ); Thu, 16 Oct 2008 08:00:06 -0400 From: Christian Borntraeger To: Rusty Russell Subject: Re: [RFC PATCH 4/5] hvc_console: Add tty window resizing Date: Thu, 16 Oct 2008 13:58:40 +0200 User-Agent: KMail/1.9.9 Cc: Hendrik Brueckner , Benjamin Herrenschmidt , Linux PPC devel , Jeremy Fitzhardinge , "Ryan S. Arnold" , LKML , Heiko Carstens , Martin Schwidefsky References: <20081014091247.433079967@linux.vnet.ibm.com> <20081014091413.306993844@linux.vnet.ibm.com> <200810162241.29883.rusty@rustcorp.com.au> In-Reply-To: <200810162241.29883.rusty@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810161358.40428.borntraeger@de.ibm.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Donnerstag, 16. Oktober 2008 schrieb Rusty Russell: > > The patch provides the hvc_resize() function to update the terminal > > window dimensions (struct winsize) for a specified hvc console. > > The function stores the new window size and schedules a function > > that finally updates the tty winsize and signals the change to > > user space (SIGWINCH). > > Because the winsize update must acquire a mutex and might sleep, > > the function is scheduled instead of being called from hvc_poll() > > or khvcd. > > I want this functionality for lguest, too. But I don't see anything which > uses this call yet? Are we going to use the config_change notifier from > virtio? (Which IIRC neither S/390 nor lguest have plumbed in). I have some prototype patches for virtio_console, but did not find the time to finish them. Christian