qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: ferux <ferux@mail.ru>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] for bug 754635: -d option outs wrong info about sections
Date: Sun, 12 Jun 2011 17:14:36 +0400	[thread overview]
Message-ID: <4DF4BBBC.8010203@mail.ru> (raw)

Patch to correct log output about sections from:
start    end      size     prot
00010000-00019000 00009000 r-x
00019000-0007b000 00062000 rw-
00040000-00041000 00001000 ---
00041000-00041800 00000800 rw-
00041800-0005d800 0001c000 r-x
0005d800-0005e800 00001000 rw-

to:
start    end      size     prot
10000000-10019000 00019000 r-x
10019000-1006b000 00052000 rw-
40000000-40001000 00001000 ---
40001000-40801000 00800000 rw-
40801000-4081d000 0001c000 r-x
4081d000-4081e000 00001000 rw-

I described this bug: https://bugs.launchpad.net/qemu/+bug/754635.

Signed-off-by: Max Rozhkov <address@hidden>
---

--- qemu-0.14.1/exec.c.orig    2011-06-12 16:14:51.362434004 +0400
+++ qemu-0.14.1/exec.c    2011-06-12 16:15:10.652434003 +0400
@@ -2340,7 +2340,7 @@ int walk_memory_regions(void *priv, walk
      data.prot = 0;

      for (i = 0; i < V_L1_SIZE; i++) {
-        int rc = walk_memory_regions_1(&data, (abi_ulong)i << V_L1_SHIFT,
+        int rc = walk_memory_regions_1(&data, (abi_ulong)i << 
(V_L1_SHIFT + TARGET_PAGE_BITS),
                                         V_L1_SHIFT / L2_BITS - 1, 
l1_map + i);
          if (rc != 0) {
              return rc;

             reply	other threads:[~2011-06-12 13:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-12 13:14 ferux [this message]
2011-06-14 20:49 ` [Qemu-devel] [PATCH] for bug 754635: -d option outs wrong info about sections Richard Henderson
2011-06-14 21:39 ` Andreas Färber

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=4DF4BBBC.8010203@mail.ru \
    --to=ferux@mail.ru \
    --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).