From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rusty Russell Subject: Re: [PATCH/RFC 7/9] Virtual network guest device driver Date: Thu, 17 May 2007 14:24:40 +1000 Message-ID: <1179375881.21871.83.camel@localhost.localdomain> References: <1178903957.25135.13.camel@cotte.boeblingen.de.ibm.com> <1178904965.25135.34.camel@cotte.boeblingen.de.ibm.com> <13426d f10705111244w1578ebedy8259bc42ca1f588d@mail.gmail.com> <4644CE15.6080505@us.ibm.com> <4644E456.2060507@us.ibm.com> <464B3F20.4030904@us.ibm.com> <464B0ADB.BA47.005A.0@novell.com> <464B4FEB.7070300@us.ibm.com> <464B1B9C.BA47.005A.0@novell.com> <464B572C.6090800@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Jimi Xenidis , "jmk-zzFmDc4TPjtKvsKVC3L/VUEOCMrvLtNR@public.gmane.org" , Christian Borntraeger , "kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org" , Suzanne McIntosh , Martin Schwidefsky To: Anthony Liguori Return-path: In-Reply-To: <464B572C.6090800-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org On Wed, 2007-05-16 at 14:10 -0500, Anthony Liguori wrote: > For the host, you can probably stay entirely within QEMU. Interguest > communication would be a bit tricky but guest->host communication is > real simple. guest->host is always simple. But it'd be great if it didn't matter to the guest whether it's talking to the host or another guest. I think shared memory is an obvious start, but it's not enough for inter-guest where they can't freely access each other's memory. So you really want a ring-buffer of descriptors with a hypervisor-assist to say "read/write this into the memory referred to by that descriptor". I think this can be done as a simple variation of the current schemes in existence. But I'm shutting up until I have some demonstration code 8) > A tricky bit of this is how to do discovery. If you want to support > interguest communication, it's not really sufficient to just use strings > since they identifiers would have to be unique throughout the entire > system. Maybe you just leave it as a guest=>host channel and be done > with it. Hmm, I was going to leave that unspecified. One thing at a time... Rusty. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/