From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MlIID-0002Mr-Si for qemu-devel@nongnu.org; Wed, 09 Sep 2009 04:12:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MlII8-0002Ma-8A for qemu-devel@nongnu.org; Wed, 09 Sep 2009 04:12:40 -0400 Received: from [199.232.76.173] (port=55962 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlII8-0002MV-2f for qemu-devel@nongnu.org; Wed, 09 Sep 2009 04:12:36 -0400 Received: from mx20.gnu.org ([199.232.41.8]:10941) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MlII7-0003eZ-QF for qemu-devel@nongnu.org; Wed, 09 Sep 2009 04:12:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MlII7-0003I8-2j for qemu-devel@nongnu.org; Wed, 09 Sep 2009 04:12:35 -0400 From: Amit Shah Date: Wed, 9 Sep 2009 13:41:59 +0530 Message-Id: <1252483925-26336-1-git-send-email-amit.shah@redhat.com> Subject: [Qemu-devel] Multiple Port Support for virtio-console List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org Hello all, Here is a new iteration of the patch series that implements a transport for guest and host communications. I've tested for compatibility (old qemu & new kernel, new qemu & old kernel, new qemu & new kernel) and it all works fine*. Migration works with the patch Juan just posted. There are a few items on my todo list but this works well. New since last send: - migrate per-port buffers that are queued up - in-qemu api for open/close/read/write of ports. - the read() is a callback that's invoked when complete data corresponding to one write() request on the guest is available. - removed comments from virtio_console.c that are no longer relevant. - address review comments by Juan TODO: - Convert all config writes to little endian in qemu / convert from little endian to host endian in guest - Address a few FIXMEs spread in the code - Introduce a watermark to stop a rogue host process flooding guest with data Conditions: * Heavy IO on an hvc port and a non-hvc port causes memory corruption each time, same place. It could be realted to locking but I doubt that. This still has to be sorted out Please review. Amit