From: Johannes Schindelin <Johannes.Schindelin@gmx.de>
To: Clemens Kolbitsch <clemens.kol@gmx.at>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: Accepting socket connections in qemu (not the client... the emulator)
Date: Tue, 29 May 2007 14:59:58 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.64.0705291458520.4648@racer.site> (raw)
In-Reply-To: <465C30F5.40307@gmx.at>
Hi,
On Tue, 29 May 2007, Clemens Kolbitsch wrote:
> Johannes Schindelin wrote:
> > Hi,
> >
> > On Tue, 29 May 2007, Clemens Kolbitsch wrote:
> >
> >
> > > Clemens Kolbitsch wrote:
> > >
> > >
> > > > my virtual device inside qemu (a pci device) is listening for
> > > > socket-(tcp)-connections.
> > > >
> > > > however, accept() always fails (code works fine if not executed inside
> > > > the qemu-process)... now i'm wondering if qemu interferes somehow...
> > > >
> > > > is that possible?
> > > >
> > > > frustrated.... *gg*
> > > >
> > > >
> > > ok.... i found an answer to it.
> > >
> > > obviously, qemu has to handle interrupt-signals (e.g. from its
> > > client-os). this interrupts accepting connections.
> > >
> > > very bad for me, but at least a logical reason :-/
> > >
> >
> > I guess that you use the Slirp device. This device is masqueraded to the
> > outside, so unless you use something different, like VLAN or TAP, you can
> > only make it work using a tunnel.
> >
> >
> no... i think you misunderstand...
>
> I'm trying to accept a socket inside the qemu-emulation-process. not inside
> the simulated operating system.
Ah, sorry.
I cannot think of anything which could trigger that, except what you
suggested (interrupts are in the way), or maybe timing problems.
Sorry,
Dscho
next prev parent reply other threads:[~2007-05-29 14:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20070528160302.540gmx1@mx058.gmx.net>
2007-05-28 16:37 ` RE: [Qemu-devel] QEMU/PCI shutdown event Clemens Kolbitsch
2007-05-29 8:42 ` [Qemu-devel] Adding multiple files to qemu Makefile ... a pain Clemens Kolbitsch
2007-05-29 12:50 ` [Qemu-devel] Accepting socket connections in qemu (not the client... the emulator) Clemens Kolbitsch
2007-05-29 13:35 ` [Qemu-devel] " Clemens Kolbitsch
2007-05-29 13:46 ` Johannes Schindelin
2007-05-29 13:56 ` Clemens Kolbitsch
2007-05-29 13:59 ` Johannes Schindelin [this message]
2007-05-30 10:50 ` [Qemu-devel] Re: Qemu-devel Digest, Vol 50, Issue 70 Clemens Kolbitsch
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=Pine.LNX.4.64.0705291458520.4648@racer.site \
--to=johannes.schindelin@gmx.de \
--cc=clemens.kol@gmx.at \
--cc=qemu-devel@nongnu.org \
/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;
as well as URLs for NNTP newsgroup(s).