qemu-trivial
[Top][All Lists]
Advanced

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

Re: [Qemu-trivial] [Qemu-devel] [PATCH] linux-user: pass correct paramet


From: Petar Jovanovic
Subject: Re: [Qemu-trivial] [Qemu-devel] [PATCH] linux-user: pass correct parameter to do_shmctl()
Date: Fri, 11 Oct 2013 20:44:44 +0000

________________________________________
From: Peter Maydell address@hidden
Sent: Friday, October 11, 2013 9:10 PM
To: Petar Jovanovic
Cc: QEMU Developers; QEMU Trivial; Riku Voipio; Petar Jovanovic; Aurelien Jarno
Subject: Re: [Qemu-devel] [PATCH] linux-user: pass correct parameter to 
do_shmctl()

On 11 October 2013 22:03, Petar Jovanovic <address@hidden> wrote:
> From: Petar Jovanovic <address@hidden>
>
> Fix shmctl issue by passing correct parameter buf to do_shmctl().

Reviewed-by: Peter Maydell <address@hidden>

> It would be nice if you gave more detail than "shmctl issue"...

Yes, indeed. However, this is a bit tricky, because it can be associated
with different issues, and this particular fix is a follow up to an
another change [1] that I posted previously that defines arch-specific
structs target_ipc_perm and target_shmid_ds. The layout of the structs
is important.

This particular change will for instance, when joined with the
preceding change, make the code correctly return values in the buf
struct after:

shmctl(shm_id, IPC_STAT, &buf)

Different architectures benefit from these two patches.

Regards,
Petar



reply via email to

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