Host kernel requirements for UML
Hi,
I am trying to get a quick answer for a question I had on UML.
As I understand, UML kernel makes use of host kernel's system call interface for its functionality. The questions is, does the host kernel need to support *all* system calls or only a subset? Does UML rely on /proc or any other such filesystems on host? This is assuming that we want all possible features inside UML.
Signature · 16 lines
Thanks and Regards, Srivatsa Vaddagiri, Linux Technology Center, IBM Software Labs, Bangalore, INDIA - 560017 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 5 lines · Srivatsa Vaddagiri
Hi,
I am trying to get a quick answer for a question I had on UML.
As I understand, UML kernel makes use of host kernel's system call interface for its functionality. The questions is, does the host kernel need to support *all* system calls or only a subset?
Only a small subset.
Quoted 1 line
Does UML rely on /proc or any other such filesystems on host?
It looks at /proc/cpuinfo for some information about cmov and xmm support on the processor.
Jeff
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 8 lines · Jeff Dike
Quoted 5 lines · Srivatsa Vaddagiri
Hi,
I am trying to get a quick answer for a question I had on UML.
As I understand, UML kernel makes use of host kernel's system call interface for its functionality. The questions is, does the host kernel need to support *all* system calls or only a subset?Only a small subset.
Thanks for the info. Is there any place where this subset is documented? I was hoping to avoid looking at the unresoled symbols in UML binary to get this info!
Signature · 16 lines
Thanks and Regards, Srivatsa Vaddagiri, Linux Technology Center, IBM Software Labs, Bangalore, INDIA - 560017 ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 11 lines · Srivatsa Vaddagiri
Quoted 8 lines · Jeff Dike
Quoted 5 lines · Srivatsa Vaddagiri
Hi,
I am trying to get a quick answer for a question I had on UML.
As I understand, UML kernel makes use of host kernel's system call interface for its functionality. The questions is, does the host kernel need to support *all* system calls or only a subset?Only a small subset.
Thanks for the info. Is there any place where this subset is documented?
Surely not. However, that *does not* yet include any fancy 2.6 features. Why are you looking for it? What are you going to port/run UML to?
Quoted 2 lines
I was hoping to avoid looking at the unresoled symbols in UML binary to get this info!
That wouldn't work... how would you discover that recent UMLs require the host to support PTRACE_O_SYSGOOD (a ptrace option set through PTRACE_SETOPTIONS)?
That's only in recent ones and that support has been added in 2.4, so it's safe.
Hey, if you look at the man page, you won't find out what they're about, either!
For the core, it just requires (*heavily*) mmap and friends, standard filesystem support (possibly including largefile-aware versions) and signals. But it extends a lot for terminal support, for instance it will make the stdin/stdout terminal "raw" with cfmakeraw(3), probably through some IOCTLs, bundled inside libraries...
Signature · 23 lines
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!". Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894) http://www.user-mode-linux.org/~blaisorblade ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel