qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Jiang Wang <jwangzju@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Questions about rtl8139 receive mode and debugging
Date: Mon, 11 May 2009 18:23:43 -0400	[thread overview]
Message-ID: <77e29ea90905111523m3c9e0822h5ea25a3116f655fa@mail.gmail.com> (raw)

Hi:

I am using rtl8139 nic emulation on x86 linux (CentOS 5.3). QEMU is
0.10.2  I want to set the NIC to receive the packet even if the check
sum is wrong. Is this function implemented? I searched in hw/rtl8139.c
and find a definition of "    AcceptErr = 0x20,". But it is not used
anywhere.

So I guess it may not be implemented yet. Then I try to debug this NIC
and understand its internals. But I cannot find the "printf" output
even if I put "#define DEBUG_RTL8139 1" in the source file and
recompiled the qemu.  I noticed that in this post:
http://lists.gnu.org/archive/html/qemu-devel/2006-04/msg00517.html ,
the printf seems to be able to output the message to the QEMU monitor.
But why I cannot see the printf? Is there any other settings? Thanks.

Regards,

Jiang

             reply	other threads:[~2009-05-11 22:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-11 22:23 Jiang Wang [this message]
2009-05-13  1:10 ` [Qemu-devel] Questions about rtl8139 receive mode and debugging Igor Kovalenko
2009-05-13  2:22   ` Jiang Wang

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=77e29ea90905111523m3c9e0822h5ea25a3116f655fa@mail.gmail.com \
    --to=jwangzju@gmail.com \
    --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).