From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O8pJm-0001bW-9d for qemu-devel@nongnu.org; Mon, 03 May 2010 02:39:50 -0400 Received: from [140.186.70.92] (port=35466 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O8pJc-0001Ws-RD for qemu-devel@nongnu.org; Mon, 03 May 2010 02:39:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O8pJZ-0002ib-Uu for qemu-devel@nongnu.org; Mon, 03 May 2010 02:39:40 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1938) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O8pJZ-0002iO-AR for qemu-devel@nongnu.org; Mon, 03 May 2010 02:39:37 -0400 Date: Mon, 3 May 2010 12:07:53 +0530 From: Amit Shah Message-ID: <20100503063753.GA2791@amit-x200.redhat.com> References: <20100416114248.A001562C03A@msa106.auone-net.jp> <20100416130219.GE21268@amit-x200.redhat.com> <20100429071239.6854F6FC039@msa105.auone-net.jp> <20100429104718.GB21309@amit-x200.redhat.com> <20100429123631.130366AC03A@msa102.auone-net.jp> <20100429124917.GC21309@amit-x200.redhat.com> <20100430081220.2178A6AC03A@msa102.auone-net.jp> <20100430104338.GA27314@amit-x200.redhat.com> <20100503045814.0AE306AC03C@msa102.auone-net.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100503045814.0AE306AC03C@msa102.auone-net.jp> Subject: [Qemu-devel] Re: [PATCH v3 2/2] virtio-console: Notify resize to the guest. List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kusanagi Kouichi Cc: qemu-devel@nongnu.org On (Mon) May 03 2010 [13:58:13], Kusanagi Kouichi wrote: > I tested this patch as follows: > I put printf()s into involved functions. Then ran qemu on a terminal > emulator, and resized it. > The guest kernel gets initial size, and follows host resize. Both > singleport and multiport work. > > v3: > If multiport is enabled, send the control message. If not, send a config space update. Thanks! I've just sent out both the patches, and have modified this patch a bit in virtio-serial.h comment and the patch description. The 1/2 patch uses a timer. I'm not sure that's the best way to do it, but I'll leave that upto the maintainers. Amit