From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MJ7Vb-0004L7-B6 for qemu-devel@nongnu.org; Tue, 23 Jun 2009 11:02:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MJ7VW-0004Db-Az for qemu-devel@nongnu.org; Tue, 23 Jun 2009 11:02:02 -0400 Received: from [199.232.76.173] (port=60477 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJ7VV-0004Cs-NF for qemu-devel@nongnu.org; Tue, 23 Jun 2009 11:01:57 -0400 Received: from mx1.redhat.com ([66.187.233.31]:44735) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MJ7VU-00061V-Qs for qemu-devel@nongnu.org; Tue, 23 Jun 2009 11:01:57 -0400 Date: Tue, 23 Jun 2009 15:59:39 +0100 From: "Daniel P. Berrange" Subject: Re: [Qemu-devel] virtio-serial: A guest <-> host interface for simple communication Message-ID: <20090623145937.GB10690@redhat.com> References: <1245760953-32139-1-git-send-email-amit.shah@redhat.com> <200906231355.53557.paul@codesourcery.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200906231355.53557.paul@codesourcery.com> Reply-To: "Daniel P. Berrange" List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: Amit Shah , qemu-devel@nongnu.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org On Tue, Jun 23, 2009 at 01:55:52PM +0100, Paul Brook wrote: > > Here are two patches. One implements a virtio-serial device in qemu > > and the other is the driver for a guest kernel. > > So I'll ask again. Why is this separate from virtio-console? In the guest I wouldn't want virtio-serial devices to be mixed up with the virtio-console device. virtio-console has nice clear usecase of being an interactive console, and as such the guest OS can & should automatically start a mingetty/agetty process on any virtio-console device it finds. If we use virtio-console for data channels to, then guest config becomes much harder todo automatically. By all means share underlying code/infrastructure where appropriate, but they must ultimately appear as clearly separate devices IMHO Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|