qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 9ac225: linux-user: fix preadv/pwritev offset


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 9ac225: linux-user: fix preadv/pwritev offsets
Date: Tue, 10 Apr 2018 04:40:14 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 9ac225171c9d6b2a1cba35a94ae7eeaa0106cf7d
      
https://github.com/qemu/qemu/commit/9ac225171c9d6b2a1cba35a94ae7eeaa0106cf7d
  Author: Max Filippov <address@hidden>
  Date:   2018-04-09 (Mon, 09 Apr 2018)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: fix preadv/pwritev offsets

preadv/pwritev accept low and high parts of file offset in two separate
parameters. When host bitness doesn't match guest bitness these parts
must be appropriately recombined.
Introduce target_to_host_low_high that does this recombination and use
it in preadv/pwritev syscalls.

This fixes glibc testsuite test misc/tst-preadvwritev64.

Reviewed-by: Laurent Vivier <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Max Filippov <address@hidden>


  Commit: fb4fe32d5b6290deabe752b51cc1cc2a9e8573db
      
https://github.com/qemu/qemu/commit/fb4fe32d5b6290deabe752b51cc1cc2a9e8573db
  Author: Peter Maydell <address@hidden>
  Date:   2018-04-10 (Tue, 10 Apr 2018)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/xtensa/tags/20180409-xtensa' into 
staging

Fix file offset for preadv/pwritev linux-user syscalls.

# gpg: Signature made Tue 10 Apr 2018 03:04:24 BST
# gpg:                using RSA key 51F9CC91F83FA044
# gpg: Good signature from "Max Filippov <address@hidden>"
# gpg:                 aka "Max Filippov <address@hidden>"
# gpg:                 aka "Max Filippov <address@hidden>"
# Primary key fingerprint: 2B67 854B 98E5 327D CDEB  17D8 51F9 CC91 F83F A044

* remotes/xtensa/tags/20180409-xtensa:
  linux-user: fix preadv/pwritev offsets

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/1e7e92e2ef87...fb4fe32d5b62

reply via email to

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