Package: qemu Version: 0.9.1-1 Severity: normal Tags: patch At least on i386, qemu-ppc uses a wrong struct alignment, thus yielding some incorrect data.
You can check it with this command: stat -c "%s" foo The attachment workarounds this on i386.
Index: qemu-0.9.1/linux-user/syscall_defs.h =================================================================== --- qemu-0.9.1.orig/linux-user/syscall_defs.h 2008-03-10 00:52:23.000000000 +0100 +++ qemu-0.9.1/linux-user/syscall_defs.h 2008-03-10 00:52:24.000000000 +0100 @@ -1128,8 +1128,14 @@ unsigned int st_gid; unsigned long long st_rdev; unsigned short pad0; +#if defined(HOST_I386) + int pad1; +#endif long long st_size; int st_blksize; +#if defined(HOST_I386) + int pad2; +#endif long long st_blocks; /* Number 512-byte blocks allocated. */ int target_st_atime; unsigned int target_st_atime_nsec;