qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v7 11/15] common-user: Move safe-syscall.* from linux-user


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v7 11/15] common-user: Move safe-syscall.* from linux-user
Date: Tue, 14 Dec 2021 14:13:05 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0

On 12/14/21 01:26, Richard Henderson wrote:
> Move linux-user safe-syscall.S and safe-syscall-error.c to common-user
> so that bsd-user can also use it.  Also move safe-syscall.h to
> include/user/.  Since there is nothing here that is related to the guest,
> as opposed to the host, build it once.
> 
> Reviewed-by: Warner Losh <imp@bsdimp.com>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
>  meson.build                                    | 18 +++++++++++++++++-
>  {linux-user => include/user}/safe-syscall.h    |  0
>  .../safe-syscall-error.c                       |  2 +-
>  linux-user/signal.c                            |  2 +-
>  linux-user/syscall.c                           |  2 +-
>  MAINTAINERS                                    |  2 ++
>  bsd-user/meson.build                           |  2 ++
>  .../host/aarch64/safe-syscall.inc.S            |  2 +-
>  .../host/arm/safe-syscall.inc.S                |  2 +-
>  .../host/i386/safe-syscall.inc.S               |  2 +-
>  .../host/mips/safe-syscall.inc.S               |  2 +-
>  .../host/ppc64/safe-syscall.inc.S              |  2 +-
>  .../host/riscv/safe-syscall.inc.S              |  2 +-
>  .../host/s390x/safe-syscall.inc.S              |  2 +-
>  .../host/sparc64/safe-syscall.inc.S            |  2 +-
>  .../host/x86_64/safe-syscall.inc.S             |  2 +-
>  common-user/meson.build                        |  6 ++++++
>  {linux-user => common-user}/safe-syscall.S     |  0
>  linux-user/meson.build                         |  5 +++--
>  19 files changed, 42 insertions(+), 15 deletions(-)
>  rename {linux-user => include/user}/safe-syscall.h (100%)
>  rename {linux-user => common-user}/safe-syscall-error.c (95%)
>  rename {linux-user => common-user}/host/aarch64/safe-syscall.inc.S (97%)
>  rename {linux-user => common-user}/host/arm/safe-syscall.inc.S (98%)
>  rename {linux-user => common-user}/host/i386/safe-syscall.inc.S (98%)
>  rename {linux-user => common-user}/host/mips/safe-syscall.inc.S (98%)
>  rename {linux-user => common-user}/host/ppc64/safe-syscall.inc.S (98%)
>  rename {linux-user => common-user}/host/riscv/safe-syscall.inc.S (97%)
>  rename {linux-user => common-user}/host/s390x/safe-syscall.inc.S (98%)
>  rename {linux-user => common-user}/host/sparc64/safe-syscall.inc.S (97%)
>  rename {linux-user => common-user}/host/x86_64/safe-syscall.inc.S (98%)
>  create mode 100644 common-user/meson.build
>  rename {linux-user => common-user}/safe-syscall.S (100%)

Nice!

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>



reply via email to

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