* [uml-devel] UML: Access to a host device from UML
@ 2019-02-20 18:36 Pablo Pessolani
2019-02-20 20:28 ` Anton Ivanov
0 siblings, 1 reply; 2+ messages in thread
From: Pablo Pessolani @ 2019-02-20 18:36 UTC (permalink / raw)
To: user-mode-linux-devel
[-- Attachment #1.1: Type: text/plain, Size: 461 bytes --]
Hi:
I wrote an IPC mechanism as a Linux kernel module. The access to their services is through a dummy character device called /dev/dvk using ioctl(). Therefore, only open(), ioctl() and close() system calls are used.
How can a process running within an UML Guest access the /dev/dvk host device? (humfs??)
The idea is to communicate two o more UML instances through this IPC mechanism.
Thanks in advance.
Regards.
PAP
[-- Attachment #1.2: Type: text/html, Size: 2233 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
[-- Attachment #3: Type: text/plain, Size: 194 bytes --]
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [uml-devel] UML: Access to a host device from UML
2019-02-20 18:36 [uml-devel] UML: Access to a host device from UML Pablo Pessolani
@ 2019-02-20 20:28 ` Anton Ivanov
0 siblings, 0 replies; 2+ messages in thread
From: Anton Ivanov @ 2019-02-20 20:28 UTC (permalink / raw)
To: user-mode-linux-devel
[-- Attachment #1.1: Type: text/plain, Size: 1279 bytes --]
I do not think that this is possible without an additional device in the
UML itself.
In fact, if you want two processes in two different UML instances to
communicate in-between themselves you should aim at a UML device. The
kernel device is probably suprlus to requirements as the two UML
instances can communicate between themselves within the host userspace
using any of the mechanisms available for that.
A.
On 2/20/19 6:36 PM, Pablo Pessolani wrote:
> Hi:
> � � � � I wrote an IPC mechanism as a Linux kernel module. The access
> to their services is through a dummy character device called /dev/dvk
> using ioctl(). Therefore, only open(), ioctl() and close() system
> calls are used.
> � � � � How can a process running within an UML Guest access the
> /dev/dvk host device?� (humfs??)
> � � � � The idea is to communicate two o more UML instances through
> this IPC mechanism.
> � � � � Thanks in advance.
> Regards.
> PAP
>
>
>
> _______________________________________________
> User-mode-linux-devel mailing list
> User-mode-linux-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
--
Anton R Ivanov
http://www.kot-begemot.co.uk
[-- Attachment #1.2: Type: text/html, Size: 4243 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
[-- Attachment #3: Type: text/plain, Size: 194 bytes --]
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-02-20 21:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-20 18:36 [uml-devel] UML: Access to a host device from UML Pablo Pessolani
2019-02-20 20:28 ` Anton Ivanov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.