qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH]: fix a nit in exec.c


From: Tristan Gingold
Subject: [Qemu-devel] [PATCH]: fix a nit in exec.c
Date: Fri, 22 Aug 2008 15:56:32 +0200

Hi,

the parameter of page_find_alloc is a page index and not an address.

Tristan.

Signed-off-by: Tristan Gingold <address@hidden>

--- exec.c      (revision 5062)
+++ exec.c      (working copy)
@@ -286,7 +286,7 @@
 #if TARGET_LONG_BITS > 32
/* Host memory outside guest VM. For 32-bit targets we have already
        excluded high addresses.  */
-    if (index > ((target_ulong)L2_SIZE * L1_SIZE * TARGET_PAGE_SIZE))
+    if (index > ((target_ulong)L2_SIZE * L1_SIZE))
         return NULL;
 #endif
     lp = &l1_map[index >> L2_BITS];


Attachment: qeexec.diff
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]