Re: [Qemu-devel] [PATCH] linux-user: Do not subtract offset from end address

2014-11-10 Thread Tom Musta
On 11/8/2014 6:22 PM, Andreas Färber wrote: > Am 06.11.2014 um 20:43 schrieb Tom Musta: >> When computing the upper address of a program segment, do not subtract the >> offset from the virtual address; instead compute the sum of the virtual >> address >> and the memory size. > > Note that this re

Re: [Qemu-devel] [PATCH] linux-user: Do not subtract offset from end address

2014-11-08 Thread Andreas Färber
Am 06.11.2014 um 20:43 schrieb Tom Musta: > When computing the upper address of a program segment, do not subtract the > offset from the virtual address; instead compute the sum of the virtual > address > and the memory size. Note that this reads a bit weird as both old and new code are adding, n

Re: [Qemu-devel] [PATCH] linux-user: Do not subtract offset from end address

2014-11-07 Thread Jonas Maebe
On 07 Nov 2014, at 08:23, Riku Voipio wrote: On Thu, Nov 06, 2014 at 01:43:13PM -0600, Tom Musta wrote: When computing the upper address of a program segment, do not subtract the offset from the virtual address; instead compute the sum of the virtual address and the memory size. Thanks,

Re: [Qemu-devel] [PATCH] linux-user: Do not subtract offset from end address

2014-11-06 Thread Riku Voipio
On Thu, Nov 06, 2014 at 01:43:13PM -0600, Tom Musta wrote: > When computing the upper address of a program segment, do not subtract the > offset from the virtual address; instead compute the sum of the virtual > address > and the memory size. Thanks, I'll test this and try to get it applied ASAP.

[Qemu-devel] [PATCH] linux-user: Do not subtract offset from end address

2014-11-06 Thread Tom Musta
When computing the upper address of a program segment, do not subtract the offset from the virtual address; instead compute the sum of the virtual address and the memory size. Signed-off-by: Tom Musta --- Please include this patch in QEMU 2.2. Commit a93934fecd4dffc9d4b452b670c9506be5dea30d i