qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 91e599: linux-user, configure: fix (again) sy


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 91e599: linux-user, configure: fix (again) syscall_nr.h de...
Date: Thu, 26 Mar 2020 15:00:16 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 91e5998f185ce0f4d6e0fb40bb0721466009d620
      
https://github.com/qemu/qemu/commit/91e5998f185ce0f4d6e0fb40bb0721466009d620
  Author: Laurent Vivier <address@hidden>
  Date:   2020-03-26 (Thu, 26 Mar 2020)

  Changed paths:
    M configure

  Log Message:
  -----------
  linux-user, configure: fix (again) syscall_nr.h dependencies cleanup

This patch fixes two problems:
- it cleanups linux-user variants (for instance ppc64-linux-user
  and ppc64le-linux-user)
- it removes the .o file when it removes the .d file, otherwise the .o
  file is never updated

Fixes: 5f29856b852d ("linux-user, configure: improve syscall_nr.h dependencies 
checking")
Fixes: 4d6a835dea47 ("linux-user: introduce parameters to generate 
syscall_nr.h")
Signed-off-by: Laurent Vivier <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>


  Commit: 628460891dd46c25e33eec01757ac655679ea198
      
https://github.com/qemu/qemu/commit/628460891dd46c25e33eec01757ac655679ea198
  Author: Richard Henderson <address@hidden>
  Date:   2020-03-26 (Thu, 26 Mar 2020)

  Changed paths:
    M target/i386/cpu.h

  Log Message:
  -----------
  target/i386: Renumber EXCP_SYSCALL

We are not short of numbers for EXCP_*.  There is no need to confuse things
by having EXCP_VMEXIT and EXCP_SYSCALL overlap, even though the former is
only used for system mode and the latter is only used for user mode.

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


  Commit: acf768a904396b4a4b5fdfcb566843379dc8feb0
      
https://github.com/qemu/qemu/commit/acf768a904396b4a4b5fdfcb566843379dc8feb0
  Author: Richard Henderson <address@hidden>
  Date:   2020-03-26 (Thu, 26 Mar 2020)

  Changed paths:
    M linux-user/i386/cpu_loop.c

  Log Message:
  -----------
  linux-user/i386: Split out gen_signal

This is a bit tidier than open-coding the 5 lines necessary
to initialize the target_siginfo_t.  In addition, this zeros
the remaining bytes of the target_siginfo_t, rather than
passing in garbage.

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


  Commit: b26491b4d4f829fa4326d1ec2eea165a37bc6b3c
      
https://github.com/qemu/qemu/commit/b26491b4d4f829fa4326d1ec2eea165a37bc6b3c
  Author: Richard Henderson <address@hidden>
  Date:   2020-03-26 (Thu, 26 Mar 2020)

  Changed paths:
    M linux-user/i386/cpu_loop.c
    M target/i386/cpu.h
    M target/i386/translate.c

  Log Message:
  -----------
  linux-user/i386: Emulate x86_64 vsyscalls

Notice the magic page during translate, much like we already
do for the arm32 commpage.  At runtime, raise an exception to
return cpu_loop for emulation.

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


  Commit: bf02adcd888f2837f6accc235a3acf69ca2e82f8
      
https://github.com/qemu/qemu/commit/bf02adcd888f2837f6accc235a3acf69ca2e82f8
  Author: Richard Henderson <address@hidden>
  Date:   2020-03-26 (Thu, 26 Mar 2020)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Add x86_64 vsyscall page to /proc/self/maps

The page isn't (necessarily) present in the host /proc/self/maps,
and even if it might be it isn't present in page_flags, and even
if it was it might not have the same set of page permissions.

The easiest thing to do, particularly when it comes to the
"[vsyscall]" note at the end of line, is to special case it.

Signed-off-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>
[lv: remove trailing space]
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: a52f5f87bece827a338d6eb3332e3def86fb9c33
      
https://github.com/qemu/qemu/commit/a52f5f87bece827a338d6eb3332e3def86fb9c33
  Author: Richard Henderson <address@hidden>
  Date:   2020-03-26 (Thu, 26 Mar 2020)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Flush out implementation of gettimeofday

The first argument, timeval, is allowed to be NULL.

The second argument, timezone, was missing.  While its use is
deprecated, it is still present in the syscall.

Reviewed-by: Alex Bennée <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
Message-Id: <address@hidden>
[lv: add "#if defined(TARGET_NR_gettimeofday)"]
Signed-off-by: Laurent Vivier <address@hidden>


  Commit: cfe68ae025f704f336d7dd3d1903ce37b445831d
      
https://github.com/qemu/qemu/commit/cfe68ae025f704f336d7dd3d1903ce37b445831d
  Author: Peter Maydell <address@hidden>
  Date:   2020-03-26 (Thu, 26 Mar 2020)

  Changed paths:
    M configure
    M linux-user/i386/cpu_loop.c
    M linux-user/syscall.c
    M target/i386/cpu.h
    M target/i386/translate.c

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

Emulate x86_64 vsyscalls
Fix syscall_nr.h cleanup

# gpg: Signature made Thu 26 Mar 2020 07:23:16 GMT
# gpg:                using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
# gpg:                issuer "address@hidden"
# gpg: Good signature from "Laurent Vivier <address@hidden>" [full]
# gpg:                 aka "Laurent Vivier <address@hidden>" [full]
# gpg:                 aka "Laurent Vivier (Red Hat) <address@hidden>" [full]
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C

* remotes/vivier2/tags/linux-user-for-5.0-pull-request:
  linux-user: Flush out implementation of gettimeofday
  linux-user: Add x86_64 vsyscall page to /proc/self/maps
  linux-user/i386: Emulate x86_64 vsyscalls
  linux-user/i386: Split out gen_signal
  target/i386: Renumber EXCP_SYSCALL
  linux-user, configure: fix (again) syscall_nr.h dependencies cleanup

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


Compare: https://github.com/qemu/qemu/compare/762fa6d79aa3...cfe68ae025f7



reply via email to

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