[Qemu-devel] [PATCH] linux-user: fix fallocate

2012-02-06 Thread Alexander Graf
Fallocate gets off_t parameters passed in, so we should also read them out accordingly. Signed-off-by: Alexander Graf --- v1 -> v2: - unbreak 64-bit guests --- linux-user/syscall.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/linux-user/syscall.c b/linux-user

Re: [Qemu-devel] [PATCH] linux-user: fix fallocate

2012-02-06 Thread Alexander Graf
On 06.02.2012, at 22:03, Peter Maydell wrote: > On 6 February 2012 20:45, Alexander Graf wrote: >> Fallocate gets off_t parameters passed in, so we should also read them out >> accordingly. >> >> Signed-off-by: Alexander Graf >> --- >> linux-user/syscall.c |3 ++- >> 1 files changed, 2 in

Re: [Qemu-devel] [PATCH] linux-user: fix fallocate

2012-02-06 Thread Peter Maydell
On 6 February 2012 20:45, Alexander Graf wrote: > Fallocate gets off_t parameters passed in, so we should also read them out > accordingly. > > Signed-off-by: Alexander Graf > --- >  linux-user/syscall.c |    3 ++- >  1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/linux-user/sy

[Qemu-devel] [PATCH] linux-user: fix fallocate

2012-02-06 Thread Alexander Graf
Fallocate gets off_t parameters passed in, so we should also read them out accordingly. Signed-off-by: Alexander Graf --- linux-user/syscall.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index ee8899e..ca63594 100644 ---