Re: [Qemu-devel] Small patch for getdents syscall

2017-03-13 Thread Henry Wertz
On Mar 13, 2017 5:49 AM, "Peter Maydell" wrote: > > On 8 March 2017 at 00:40, Henry Wertz wrote: > > I have a trivial, 1-line patch for getdents function; due to > >... > There is a theoretically better way to handle the 64-bit > guest on 32-bit host

Re: [Qemu-devel] Small patch for getdents syscall

2017-03-13 Thread Peter Maydell
On 8 March 2017 at 00:40, Henry Wertz wrote: > I have a trivial, 1-line patch for getdents function; due to use of > unsigned long, the struct on 64-bit and 32-bit systems is not the same. > qemu is aware of this, however it currently only checks for a 32-bit target > on

[Qemu-devel] Small patch for getdents syscall

2017-03-07 Thread Henry Wertz
I have a trivial, 1-line patch for getdents function; due to use of unsigned long, the struct on 64-bit and 32-bit systems is not the same. qemu is aware of this, however it currently only checks for a 32-bit target on 64-bit host case; in my case, I'm running 64-bit target on 32-bit host (x86-64