linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] Host kernel requirements for UML
@ 2005-08-03  9:48 Srivatsa Vaddagiri
  2005-08-03 14:39 ` Jeff Dike
  0 siblings, 1 reply; 4+ messages in thread
From: Srivatsa Vaddagiri @ 2005-08-03  9:48 UTC (permalink / raw)
  To: user-mode-linux-devel

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.


-- 


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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [uml-devel] Host kernel requirements for UML
  2005-08-03  9:48 [uml-devel] Host kernel requirements for UML Srivatsa Vaddagiri
@ 2005-08-03 14:39 ` Jeff Dike
  2005-08-03 17:15   ` Srivatsa Vaddagiri
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Dike @ 2005-08-03 14:39 UTC (permalink / raw)
  To: Srivatsa Vaddagiri; +Cc: user-mode-linux-devel

On Wed, Aug 03, 2005 at 03:18:05PM +0530, Srivatsa Vaddagiri wrote:
> 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.

> 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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [uml-devel] Host kernel requirements for UML
  2005-08-03 14:39 ` Jeff Dike
@ 2005-08-03 17:15   ` Srivatsa Vaddagiri
  2005-08-04 18:22     ` Blaisorblade
  0 siblings, 1 reply; 4+ messages in thread
From: Srivatsa Vaddagiri @ 2005-08-03 17:15 UTC (permalink / raw)
  To: Jeff Dike

On Wed, Aug 03, 2005 at 10:39:57AM -0400, Jeff Dike wrote:
> On Wed, Aug 03, 2005 at 03:18:05PM +0530, Srivatsa Vaddagiri wrote:
> > 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!

-- 


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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [uml-devel] Host kernel requirements for UML
  2005-08-03 17:15   ` Srivatsa Vaddagiri
@ 2005-08-04 18:22     ` Blaisorblade
  0 siblings, 0 replies; 4+ messages in thread
From: Blaisorblade @ 2005-08-04 18:22 UTC (permalink / raw)
  To: user-mode-linux-devel, vatsa; +Cc: Jeff Dike

On Wednesday 03 August 2005 19:15, Srivatsa Vaddagiri wrote:
> On Wed, Aug 03, 2005 at 10:39:57AM -0400, Jeff Dike wrote:
> > On Wed, Aug 03, 2005 at 03:18:05PM +0530, Srivatsa Vaddagiri wrote:
> > > 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?

> 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...
-- 
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
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-08-04 18:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-03  9:48 [uml-devel] Host kernel requirements for UML Srivatsa Vaddagiri
2005-08-03 14:39 ` Jeff Dike
2005-08-03 17:15   ` Srivatsa Vaddagiri
2005-08-04 18:22     ` Blaisorblade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox