From: Jeff D. <jd...@ad...> - 2004-04-20 14:56:36
|
fer...@ag... said: > For example, if the host writes 'ls -l' in the mconsole socket, the > daemon in the UML heard it and executes 'ls -l' (even returning the > output of the command back to the host by the socket). > > Do I catch the point? Yes, exactly. > I would like to implement this mechanism in our > VNUML tool (http://www.dit.upm.es/vnuml). Any suggestion/idea/sample > code, etc? Look at write_proc_mconsole in arch/um/drivers/mconsole_kern.c. You would need to add a read_proc_mconsole, and add send support to the client. Jeff |