Re: Host<->guest channel interface advice needed

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arnd Bergmann
Date: Wednesday, November 26, 2008 - 6:02 am

On Wednesday 26 November 2008, Gleb Natapov wrote:

I think a socket and a pty both look reasonable here, but one important
aspect IMHO is that you only need a new kernel driver for the guest, if
you just use the regular pty support or Unix domain sockets in the host.

Obviously, there needs to be some control over permissions, as a guest
most not be able to just open any socket or pty of the host, so a
reasonable approach might be that the guest can only create a socket
or pty that can be opened by the host, but not vice versa. Alternatively,
you create the socket/pty in host userspace and then allow passing that
down into the guest, which creates a virtio device from it.

	Arnd <><
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Host&lt;-&gt;guest channel interface advice needed, Gleb Natapov, (Wed Nov 26, 5:39 am)
Re: Host<->guest channel interface advice needed, Arnd Bergmann, (Wed Nov 26, 6:02 am)
Re: Host&lt;-&gt;guest channel interface advice needed, Evgeniy Polyakov, (Wed Nov 26, 6:07 am)
Re: Host&lt;-&gt;guest channel interface advice needed, Gleb Natapov, (Wed Nov 26, 6:20 am)