qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 1129dd: linux-user: Export use is_error(), us


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 1129dd: linux-user: Export use is_error(), use it to avoid...
Date: Thu, 14 Jun 2018 03:35:19 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 1129dd712157b42397275681e6397bf2d6bdfa0e
      
https://github.com/qemu/qemu/commit/1129dd712157b42397275681e6397bf2d6bdfa0e
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-11 (Mon, 11 Jun 2018)

  Changed paths:
    M linux-user/qemu.h
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Export use is_error(), use it to avoid warnings

This fixes:

  linux-user/flatload.c:740:9: warning: Loss of sign in implicit conversion
      if (res > (unsigned long)-4096)
    ^~~

Reported-by: Clang Static Analyzer
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: 71987b125ba49314b631f81a4f221e010fa9be48
      
https://github.com/qemu/qemu/commit/71987b125ba49314b631f81a4f221e010fa9be48
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-11 (Mon, 11 Jun 2018)

  Changed paths:
    M linux-user/flatload.c

  Log Message:
  -----------
  linux-user: Use is_error() to avoid warnings and make the code clearer

This fixes:

  linux-user/flatload.c:740:9: warning: Loss of sign in implicit conversion
      if (res > (unsigned long)-4096)
    ^~~

Reported-by: Clang Static Analyzer
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: 206d1b9c38daed50fcc08d2e743e649fbb82d60b
      
https://github.com/qemu/qemu/commit/206d1b9c38daed50fcc08d2e743e649fbb82d60b
  Author: Laurent Vivier <address@hidden>
  Date:   2018-06-11 (Mon, 11 Jun 2018)

  Changed paths:
    M Makefile
    M tests/Makefile.include

  Log Message:
  -----------
  linux-user: disable qemu-bridge-helper and socket_scm_helper build

linux-user targets don't need them, and if we ask to build statically
linked binaries, some static libraries they need are not available.

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Message-Id: <address@hidden>


  Commit: daf238dcd54fc80c0a83e289574ed5bb66eaa125
      
https://github.com/qemu/qemu/commit/daf238dcd54fc80c0a83e289574ed5bb66eaa125
  Author: Laurent Vivier <address@hidden>
  Date:   2018-06-11 (Mon, 11 Jun 2018)

  Changed paths:
    M scripts/qemu-binfmt-conf.sh

  Log Message:
  -----------
  qemu-binfmt-conf.sh: ignore the OS/ABI field

Most of the binaries have a value of "UNIX - System V" for the OS/ABI.

But cc1 has a value of "UNIX - GNU", and if we don't update the binfmt
mask to ignore the OS/ABI field, gcc fails to execute it:

gcc: error trying to exec '/usr/lib/gcc/m68k-linux-gnu/7/cc1': execv: Exec 
format error

Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>


  Commit: b7bf79ccddcf9fec49da0536bfd23093a929056a
      
https://github.com/qemu/qemu/commit/b7bf79ccddcf9fec49da0536bfd23093a929056a
  Author: Richard Henderson <address@hidden>
  Date:   2018-06-11 (Mon, 11 Jun 2018)

  Changed paths:
    M linux-user/alpha/syscall_nr.h
    M linux-user/strace.list

  Log Message:
  -----------
  linux-user/alpha: Fix epoll syscalls

These were named incorrectly, going so far as to invade strace.list.

Signed-off-by: Richard Henderson <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
[lv: replace tabs by spaces]
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: 58c9d45a1d754879316258c843d247ce3c540d72
      
https://github.com/qemu/qemu/commit/58c9d45a1d754879316258c843d247ce3c540d72
  Author: Richard Henderson <address@hidden>
  Date:   2018-06-11 (Mon, 11 Jun 2018)

  Changed paths:
    M linux-user/hppa/syscall_nr.h

  Log Message:
  -----------
  linux-user/hppa: Fix typo in mknodat syscall

Signed-off-by: Richard Henderson <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: 966a6356b7281cc2f82533210c23bd786734762b
      
https://github.com/qemu/qemu/commit/966a6356b7281cc2f82533210c23bd786734762b
  Author: Richard Henderson <address@hidden>
  Date:   2018-06-11 (Mon, 11 Jun 2018)

  Changed paths:
    M linux-user/microblaze/syscall_nr.h

  Log Message:
  -----------
  linux-user/microblaze: Fix typo in accept4 syscall

Signed-off-by: Richard Henderson <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>
[lv: replace tabs by spaces]
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: dec1c928494f76ddd1484a7a4584ec18b1900a7a
      
https://github.com/qemu/qemu/commit/dec1c928494f76ddd1484a7a4584ec18b1900a7a
  Author: Richard Henderson <address@hidden>
  Date:   2018-06-11 (Mon, 11 Jun 2018)

  Changed paths:
    M linux-user/sparc64/syscall_nr.h

  Log Message:
  -----------
  linux-user/sparc64: Add inotify_rm_watch and tee syscalls

Signed-off-by: Richard Henderson <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-Id: <address@hidden>


  Commit: 3b2a4d3901b8b45840c0e0495ee1cbd13123739d
      
https://github.com/qemu/qemu/commit/3b2a4d3901b8b45840c0e0495ee1cbd13123739d
  Author: Peter Maydell <address@hidden>
  Date:   2018-06-12 (Tue, 12 Jun 2018)

  Changed paths:
    M Makefile
    M linux-user/alpha/syscall_nr.h
    M linux-user/flatload.c
    M linux-user/hppa/syscall_nr.h
    M linux-user/microblaze/syscall_nr.h
    M linux-user/qemu.h
    M linux-user/sparc64/syscall_nr.h
    M linux-user/strace.list
    M linux-user/syscall.c
    M scripts/qemu-binfmt-conf.sh
    M tests/Makefile.include

  Log Message:
  -----------
  Merge remote-tracking branch 
'remotes/vivier2/tags/linux-user-for-3.0-pull-request' into staging

Fixes in syscall numbers,
disable the build of binaries not needed for linux-user,
update of qemu-binfmt-conf.sh and cleanup around is_error()

# gpg: Signature made Tue 12 Jun 2018 11:57:18 BST
# gpg:                using RSA key F30C38BD3F2FBE3C
# gpg: Good signature from "Laurent Vivier <address@hidden>"
# gpg:                 aka "Laurent Vivier <address@hidden>"
# gpg:                 aka "Laurent Vivier (Red Hat) <address@hidden>"
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C

* remotes/vivier2/tags/linux-user-for-3.0-pull-request:
  linux-user/sparc64: Add inotify_rm_watch and tee syscalls
  linux-user/microblaze: Fix typo in accept4 syscall
  linux-user/hppa: Fix typo in mknodat syscall
  linux-user/alpha: Fix epoll syscalls
  qemu-binfmt-conf.sh: ignore the OS/ABI field
  linux-user: disable qemu-bridge-helper and socket_scm_helper build
  linux-user: Use is_error() to avoid warnings and make the code clearer
  linux-user: Export use is_error(), use it to avoid warnings

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


Compare: https://github.com/qemu/qemu/compare/2ab09bf2f9f5...3b2a4d3901b8
      **NOTE:** This service been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

reply via email to

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