All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jim C. Brown" <jma5@umd.edu>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Network code on AMD64
Date: Thu, 21 Jul 2005 11:25:43 -0400	[thread overview]
Message-ID: <20050721152543.GA4122@jbrown.mylinuxbox.org> (raw)
In-Reply-To: <20050721123232.7bf2456c@nim.leo>

On Thu, Jul 21, 2005 at 12:32:32PM +0100, Paul LeoNerd Evans wrote:
> Apologies if this issue has already been solved, by the way; I've only
> just joined the mailing list...
> 

No, this problem has come up a couple times but until now no one has actually
tried to fix them.

Good job.

> But there's a problem. Currently my only test image is a Windows 98SE
> install - not best known for being able to properly debug - I shall have
> to test with a decent Knoppix or something like that... But I find that
> if I start up IE, it attempts a connection to its default homepage, then
> Qemu itself segfaults. Normally I'd fire up gdb at this stage and have a
> good look around, but I gather from documentation that the internals of
> qemu are far from standard, and I might be somewhat out of my depth here.
> 

qemu does a lot of strange things, but the hardware emulation code (e.g. the
code that emulates the ne2k) as well as the servers emulation code (e.g. the
code that emulates a dhcp server or the code that handles the proxying of tcp/ip
requests) can easily be debugged using gdb. I've done it many times myself - only
the translated machine code itself can not be viewed this way (for obvious
reasons).

> I thought I'd report here anyway; maybe someone with more development
> experience could pick it up, or at least, give me some suggestions of
> tests to run. I'm quite familiar with C in general, and Linux coding, but
> I've never done anything like the dynamic translation stuff that qemu is
> doing here...
> 

Odds are good this isn't the place where the segfault is occuring, and like I
said the rest of qemu is perfectly debuggable in gdb.

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

  reply	other threads:[~2005-07-21 16:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-21 11:32 [Qemu-devel] Network code on AMD64 Paul LeoNerd Evans
2005-07-21 15:25 ` Jim C. Brown [this message]
2005-07-21 16:18   ` Julian Seward
2005-07-21 21:55   ` Paul LeoNerd Evans
2005-07-21 22:58     ` Paul LeoNerd Evans

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=20050721152543.GA4122@jbrown.mylinuxbox.org \
    --to=jma5@umd.edu \
    --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 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.