linux-um archives
 help / color / mirror / Atom feed
From: Blaisorblade <blaisorblade@yahoo.it>
To: user-mode-linux-devel@lists.sourceforge.net, vatsa@in.ibm.com
Cc: Jeff Dike <jdike@addtoit.com>
Subject: Re: [uml-devel] Host kernel requirements for UML
Date: Thu, 4 Aug 2005 20:22:30 +0200	[thread overview]
Message-ID: <200508042022.30184.blaisorblade@yahoo.it> (raw)
In-Reply-To: <20050803171507.GA15047@in.ibm.com>

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

      reply	other threads:[~2005-08-04 18:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200508042022.30184.blaisorblade@yahoo.it \
    --to=blaisorblade@yahoo.it \
    --cc=jdike@addtoit.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    --cc=vatsa@in.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox