All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mattia Dongili <malattia@linux.it>
To: richard -rw- weinberger <richard.weinberger@gmail.com>
Cc: "user-mode-linux-devel@lists.sourceforge.net"
	<user-mode-linux-devel@lists.sourceforge.net>
Subject: Re: [uml-devel] Using UML in libguestfs
Date: Sat, 10 Aug 2013 13:16:52 +0900	[thread overview]
Message-ID: <20130810041652.GA17743@kamineko.org> (raw)
In-Reply-To: <CAFLxGvxSdR48N+_kb+mNkamEKENP3uWEJB4MxFCTEh94oOcXog@mail.gmail.com>

On Fri, Aug 09, 2013 at 10:57:20PM +0200, richard -rw- weinberger wrote:
> On Fri, Aug 9, 2013 at 10:43 PM, Richard W.M. Jones <rjones@redhat.com> wrote:
> > Today I wrote some patches (for libguestfs) which add an experimental
> > UML backend:
> >
> >   https://www.redhat.com/archives/libguestfs/2013-August/msg00005.html
> >
> > There are some observations from this.
> >
> > * 'ubd<N>=cow,original' is not parsed correctly.  This was reported a
> > while back and I'm seeing the same thing with the latest kernel from
> > git:
> >
> >   http://thread.gmane.org/gmane.linux.uml.devel/13556
> >
> > If I have some time I'll have a go at fixing this since it seems like
> > a simple regression.
> 
> Patches are very welcome!
> 
> > * I'm trying to use a serial port to communicate between guest and
> > host, using ssl3=fd:<N>.  This causes the Linux process to crash soon
> > (but not immediately) after the guest has opened /dev/ttyS3:
> >
> >   spurious interrupt in ubd_handler, err = -4
> >
> > I've put the full call trace at the end of the email because it's
> > quite long[1].  This was also reported before, although the suggested
> > patch did not fix it:
> >
> >   http://marc.info/?l=linux-kernel&m=123242364211797&w=2
> >
> > I wonder if anyone has used the fd:<N> option in anger?  I will try
> > using a Unix domain socket and see if it makes a difference.
> 
> Hmmm. I *should* work.
> Which fd are you using?
> Can you also try pts?

just for the record, rootstrap in debian (script to create a debian FS)
uses that option
umlargs.extend(['con0=fd:0,fd:1',                                                                                                         
                'con=pts',                                                                                                                
                                'root=/dev/root',                                                                                         
                                'rootflags=/',                                                                                            
                                'rootfstype=hostfs',                                                                                      
                'ubd1=' + imagefile,                                                                                                      
                'init=/usr/lib/rootstrap/builder',                                                                                        
                'devfs=nomount',                                                                                                          
                'rsworkdir=' + os.getcwd()])                                                                                              

Last time I checked it worked.
-- 
mattia
:wq!

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel


  parent reply	other threads:[~2013-08-10  4:33 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-09 20:43 [uml-devel] Using UML in libguestfs Richard W.M. Jones
2013-08-09 20:57 ` richard -rw- weinberger
2013-08-09 21:31   ` Richard W.M. Jones
2013-08-10  4:16   ` Mattia Dongili [this message]
2013-08-09 21:15 ` Richard W.M. Jones
2013-08-09 21:18   ` Richard Weinberger
2013-08-09 21:24     ` Richard W.M. Jones
2013-08-11 19:05 ` Geert Uytterhoeven
2013-08-11 19:27   ` Richard W.M. Jones
2013-08-13 11:16     ` Geert Uytterhoeven
2013-08-14 17:59 ` [uml-devel] Performance tests (was: Using UML in libguestfs) Richard W.M. Jones
2013-08-15 17:37   ` richard -rw- weinberger
2013-08-15 17:59     ` Richard W.M. Jones
2013-08-15 18:41       ` richard -rw- weinberger
2013-08-15 18:59         ` Richard W.M. Jones
2013-08-15 20:31           ` richard -rw- weinberger
2013-08-16  7:54             ` Richard W.M. Jones

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=20130810041652.GA17743@kamineko.org \
    --to=malattia@linux.it \
    --cc=richard.weinberger@gmail.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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 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.