From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [Qemu-devel] Re: virtio-serial: An interface for host-guest communication Date: Tue, 28 Jul 2009 09:48:00 -0500 Message-ID: <4A6F0FA0.4010101@codemonkey.ws> References: <1248717876-17630-1-git-send-email-amit.shah@redhat.com> <4A6E0C9E.10908@codemonkey.ws> <20090727203214.GG15020@redhat.com> <20090727204627.GA32432@shareable.org> <4A6E3BDC.8050101@codemonkey.ws> <20090728140029.GA16067@amd.home.annexia.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Amit Shah , qemu-devel@nongnu.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org To: "Richard W.M. Jones" Return-path: Received: from mail-px0-f184.google.com ([209.85.216.184]:50971 "EHLO mail-px0-f184.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752520AbZG1OsE (ORCPT ); Tue, 28 Jul 2009 10:48:04 -0400 Received: by pxi14 with SMTP id 14so45966pxi.33 for ; Tue, 28 Jul 2009 07:48:04 -0700 (PDT) In-Reply-To: <20090728140029.GA16067@amd.home.annexia.org> Sender: kvm-owner@vger.kernel.org List-ID: Richard W.M. Jones wrote: > On Mon, Jul 27, 2009 at 06:44:28PM -0500, Anthony Liguori wrote: > >> It really suggests that you need _one_ vmchannel that's exposed to >> userspace with a single userspace daemon that consumes it. >> > > ... or a more flexible API. I don't like having fixed /dev/vmch* > devices either. > Indeed. > A long time ago (on a mailing list not so far away) there was a much > better userspace API proposed, which had a separate AF_VMCHANNEL > address family. > > That API works much more like TCP sockets, except without requiring > network devices: > Dave Miller nacked that approach with a sledgehammer instead preferring that we just use standard TCP/IP which is what led to the current implementation using slirp. A userspace daemon with unix domain sockets could give a similar solution. Regards, Anthony Liguori