Re: [PATCH][RFC] vmchannel a data channel between host and guest.

2008-10-16 Thread Gleb Natapov
On Wed, Oct 15, 2008 at 10:56:02AM -0500, Anthony Liguori wrote: > Gleb Natapov wrote: >> Andrew, >> >> On Wed, Oct 15, 2008 at 07:18:52AM -0700, Andrew Biggadike wrote: >> >>> Gleb Natapov <[EMAIL PROTECTED]> wrote: >>> > Of course, you should also take a look at VMware's VMCI. If we'

Re: [PATCH][RFC] vmchannel a data channel between host and guest.

2008-10-16 Thread Gleb Natapov
On Wed, Oct 15, 2008 at 09:02:30AM -0500, Anthony Liguori wrote: >>> like struct sockaddr_un. As long as the strings were unique, they >>> could be in whatever format people wanted. >>> >>> >> So basically what you are saying is that you want to use string IDs instead >> of >> numerical ID

Re: [PATCH][RFC] vmchannel a data channel between host and guest.

2008-10-15 Thread Andrew Biggadike
Gleb Natapov <[EMAIL PROTECTED]> wrote: > On Wed, Oct 15, 2008 at 07:18:52AM -0700, Andrew Biggadike wrote: > > Gleb Natapov <[EMAIL PROTECTED]> wrote: > > > > Of course, you should also take a look at VMware's VMCI. If we're going > > > > to have a socket interface, if we can have a compatible us

Re: [PATCH][RFC] vmchannel a data channel between host and guest.

2008-10-15 Thread Anthony Liguori
Gleb Natapov wrote: Andrew, On Wed, Oct 15, 2008 at 07:18:52AM -0700, Andrew Biggadike wrote: Gleb Natapov <[EMAIL PROTECTED]> wrote: Of course, you should also take a look at VMware's VMCI. If we're going to have a socket interface, if we can have a compatible userspace interface, th

Re: [PATCH][RFC] vmchannel a data channel between host and guest.

2008-10-15 Thread Gleb Natapov
Andrew, On Wed, Oct 15, 2008 at 07:18:52AM -0700, Andrew Biggadike wrote: > Gleb Natapov <[EMAIL PROTECTED]> wrote: > > > Of course, you should also take a look at VMware's VMCI. If we're going > > > to have a socket interface, if we can have a compatible userspace > > > interface, that would pro

Re: [PATCH][RFC] vmchannel a data channel between host and guest.

2008-10-15 Thread Andrew Biggadike
Gleb Natapov <[EMAIL PROTECTED]> wrote: > On Wed, Oct 15, 2008 at 07:18:52AM -0700, Andrew Biggadike wrote: > > Gleb Natapov <[EMAIL PROTECTED]> wrote: > > > > Of course, you should also take a look at VMware's VMCI. If we're going > > > > to have a socket interface, if we can have a compatible us

Re: [PATCH][RFC] vmchannel a data channel between host and guest.

2008-10-15 Thread Gleb Natapov
On Wed, Oct 15, 2008 at 07:18:52AM -0700, Andrew Biggadike wrote: > Gleb Natapov <[EMAIL PROTECTED]> wrote: > > > Of course, you should also take a look at VMware's VMCI. If we're going > > > to have a socket interface, if we can have a compatible userspace > > > interface, that would probably be

Re: [PATCH][RFC] vmchannel a data channel between host and guest.

2008-10-15 Thread Andrew Biggadike
Gleb Natapov <[EMAIL PROTECTED]> wrote: > > Of course, you should also take a look at VMware's VMCI. If we're going > > to have a socket interface, if we can have a compatible userspace > > interface, that would probably be a good thing. > > I looked at what I could find about VMCI > (http://pubs

Re: [PATCH][RFC] vmchannel a data channel between host and guest.

2008-10-15 Thread Anthony Liguori
Gleb Natapov wrote: On Tue, Oct 14, 2008 at 01:16:19PM -0500, Anthony Liguori wrote: One thing that's been discussed is to use something that looked much Where is has been discussed? Was it on a public mailing list with online archive? Probably? This subject has been discussed to

Re: [PATCH][RFC] vmchannel a data channel between host and guest.

2008-10-15 Thread Gleb Natapov
On Tue, Oct 14, 2008 at 01:16:19PM -0500, Anthony Liguori wrote: >>> sockets have a concept of addressing and a vfs has a natural >>> namespace. That's what I was suggesting those interfaces. >>> >>> >> What address should look like if we will choose to use new address family? >> An example

Re: [PATCH][RFC] vmchannel a data channel between host and guest.

2008-10-14 Thread Anthony Liguori
Gleb Natapov wrote: On Tue, Oct 14, 2008 at 08:50:48AM -0500, Anthony Liguori wrote: Gleb Natapov wrote: On Mon, Oct 13, 2008 at 01:32:35PM -0500, Anthony Liguori wrote: netlink was designed to be interface to userspace and is used like this by different subsystems (not just

Re: [PATCH][RFC] vmchannel a data channel between host and guest.

2008-10-14 Thread Gleb Natapov
On Tue, Oct 14, 2008 at 08:50:48AM -0500, Anthony Liguori wrote: > Gleb Natapov wrote: >> On Mon, Oct 13, 2008 at 01:32:35PM -0500, Anthony Liguori wrote: >> >>> >> netlink was designed to be interface to userspace and is used like this >> by different subsystems (not just network). What full bl

Re: [PATCH][RFC] vmchannel a data channel between host and guest.

2008-10-14 Thread Anthony Liguori
Gleb Natapov wrote: On Mon, Oct 13, 2008 at 01:32:35PM -0500, Anthony Liguori wrote: netlink was designed to be interface to userspace and is used like this by different subsystems (not just network). What full blown socket (and by that I presume you mean new address family) will give you o

Re: [PATCH][RFC] vmchannel a data channel between host and guest.

2008-10-14 Thread Gleb Natapov
On Mon, Oct 13, 2008 at 01:32:35PM -0500, Anthony Liguori wrote: > Gleb Natapov wrote: >> Hello, >> >> Sometimes there is a need to pass various bits of information between host >> and guest (mostly for management purposes such as host screen resolution >> changes or runtime statistics of a guest)

Re: [PATCH][RFC] vmchannel a data channel between host and guest.

2008-10-13 Thread Anthony Liguori
Gleb Natapov wrote: Hello, Sometimes there is a need to pass various bits of information between host and guest (mostly for management purposes such as host screen resolution changes or runtime statistics of a guest). To do that we need some way to pass data between host and guest. Attached pat

[PATCH][RFC] vmchannel a data channel between host and guest.

2008-10-12 Thread Gleb Natapov
Hello, Sometimes there is a need to pass various bits of information between host and guest (mostly for management purposes such as host screen resolution changes or runtime statistics of a guest). To do that we need some way to pass data between host and guest. Attached patch implements vmchanne