Host<->guest channel interface advice needed

Gleb Natapov
Wed, 26 Nov 2008 13:20:06 -0000

On Wed, Nov 26, 2008 at 04:07:01PM +0300, Evgeniy Polyakov
wrote:
> On Wed, Nov 26, 2008 at 02:39:19PM +0200, Gleb Natapov (gleb at redhat.com)
wrote:
> > The interfaces that are being considered are netlink socket (only
datagram
> > semantics, linux specific), new socket family or character device with
> > different minor number for each channel. Which one better suits for
> > the purpose?  Is there other kind of interface to consider? New socket
> > family looks like a good choice, but it would be nice to hear other
> > opinions before starting to work on it.
>
> What about X (or whatever else) protocol running over host-guest network
> device, which are in the kernel already?
>
I should have mentioned that in my original mail. We don't want to
use IP stack for communication between host and guest for variety of
reasons. User of the VM may interfere with our communication by mis
configuring firewall for instance (and he/she may even not be aware
that an OS running inside a VM). We also want be able to communicate
with agent inside a guest even when guest's network is not yet configured.

--
			Gleb.