[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 935f1d: bsd-user: Remove ELF_START_MMAP and i
From: |
Alex Bennée |
Subject: |
[Qemu-commits] [qemu/qemu] 935f1d: bsd-user: Remove ELF_START_MMAP and image_info.sta... |
Date: |
Tue, 29 Aug 2023 06:45:45 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 935f1dd8181b757e6eff83522d85b0a2b84c27c5
https://github.com/qemu/qemu/commit/935f1dd8181b757e6eff83522d85b0a2b84c27c5
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/arm/target_arch_elf.h
M bsd-user/elfload.c
M bsd-user/i386/target_arch_elf.h
M bsd-user/qemu.h
M bsd-user/x86_64/target_arch_elf.h
Log Message:
-----------
bsd-user: Remove ELF_START_MMAP and image_info.start_mmap
The start_mmap value is write-only.
Remove the field and the defines that populated it.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230818175736.144194-2-richard.henderson@linaro.org>
Reviewed-by: Warner Losh <imp@bsdimp.com>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: 7db1873664dcba22820981ad105b0d30bcd509b8
https://github.com/qemu/qemu/commit/7db1873664dcba22820981ad105b0d30bcd509b8
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/elfload.c
M bsd-user/qemu.h
Log Message:
-----------
bsd-user: Remove image_info.mmap
This value is unused.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230818175736.144194-3-richard.henderson@linaro.org>
Reviewed-by: Warner Losh <imp@bsdimp.com>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: 4436e2ff6cae585f4863fa59a3ad77dd3c54ac63
https://github.com/qemu/qemu/commit/4436e2ff6cae585f4863fa59a3ad77dd3c54ac63
Author: Richard Henderson <richard.henderson@linaro.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/elfload.c
M bsd-user/main.c
M bsd-user/qemu.h
Log Message:
-----------
bsd-user: Remove image_info.start_brk
This has the same value is image_info.brk, which is also logged,
and is otherwise unused.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230818175736.144194-4-richard.henderson@linaro.org>
Reviewed-by: Warner Losh <imp@bsdimp.com>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: 25e2cfbb8e621a4a726040427f14dca68f78bd1b
https://github.com/qemu/qemu/commit/25e2cfbb8e621a4a726040427f14dca68f78bd1b
Author: Warner Losh <imp@bsdimp.com>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/freebsd/os-syscall.c
M include/qemu/osdep.h
Log Message:
-----------
bsd-user: Move _WANT_FREEBSD macros to include/qemu/osdep.h
move _WANT_FREEBSD macros from bsd-user/freebsd/os-syscall.c to
include/qemu/osdep.h in order to pull some struct defintions needed
later in the build.
Signed-off-by: Warner Losh <imp@bsdimp.com>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 15b950ecd16ecc6e9a1f21e1f9f185ee61a5a1d5
https://github.com/qemu/qemu/commit/15b950ecd16ecc6e9a1f21e1f9f185ee61a5a1d5
Author: Kyle Evans <kevans@FreeBSD.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M include/qemu/compiler.h
Log Message:
-----------
bsd-user: Disable clang warnings
Implement PRAGMA_DISABLE_PACKED_WARNING and
PRAGMA_REENABLE_PACKED_WARNING macros in include/qemu/compiler.h.
Signed-off-by: Kyle Evans <kevans@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: 6538c682db9c2b34fbffc22e111a4bcd8f4b02de
https://github.com/qemu/qemu/commit/6538c682db9c2b34fbffc22e111a4bcd8f4b02de
Author: Warner Losh <imp@bsdimp.com>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/qemu.h
M bsd-user/signal.c
Log Message:
-----------
bsd-user; Update the definitions of __put_user and __get_user macros
Use __builtin_choose_expr to avoid type promotion from ?:
in __put_user_e and __get_user_e macros.
Copied from linux-user/qemu.h, originally by Blue Swirl.
Signed-off-by: Warner Losh <imp@bsdimp.com>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 9b4a902d3164b60ea732cca7405fcd2d083b784e
https://github.com/qemu/qemu/commit/9b4a902d3164b60ea732cca7405fcd2d083b784e
Author: Stacey Son <sson@FreeBSD.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
A bsd-user/freebsd/qemu-os.h
M bsd-user/qemu.h
Log Message:
-----------
bsd-user: Declarations of h2t and t2h conversion functions.
Declarations of functions that convert between host and target structs.
Co-authored-by: Michal Meloun <mmel@FreeBSD.org>
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: 40f5e2983407e51e00e0fc82ff59c1ed55001530
https://github.com/qemu/qemu/commit/40f5e2983407e51e00e0fc82ff59c1ed55001530
Author: Stacey Son <sson@FreeBSD.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/syscall_defs.h
Log Message:
-----------
bsd-user: Add struct target_freebsd11_stat to bsd-user/syscall_defs
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Singed-off-by: Warner Losh <imp@bsdimp.com>
Commit: ad805a77592a1765515c70be225ec3097c954e5c
https://github.com/qemu/qemu/commit/ad805a77592a1765515c70be225ec3097c954e5c
Author: Michal Meloun <mmel@FreeBSD.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/syscall_defs.h
Log Message:
-----------
bsd-user: Add struct target_stat to bsd-user/syscall_defs.h
Signed-off-by: Michal Meloun <mmel@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: 1de075a0f6c6aa0ab54cef4fae902d4c0e95effa
https://github.com/qemu/qemu/commit/1de075a0f6c6aa0ab54cef4fae902d4c0e95effa
Author: Stacey Son <sson@FreeBSD.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/syscall_defs.h
Log Message:
-----------
bsd-user: Add structs target_freebsd11_{nstat,statfs}
Add structs target_freebsd11_nstat and target_freebsd11_statfs to
bsd-user/syscall_defs.h
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 25efcda41f107f124019f338ae929a694ec6191e
https://github.com/qemu/qemu/commit/25efcda41f107f124019f338ae929a694ec6191e
Author: Michal Meloun <mmel@FreeBSD.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/syscall_defs.h
Log Message:
-----------
bsd-user: Add struct target_statfs
Add struct target_statfs to bsd-user/syscall_defs.h
Signed-off-by: Michal Meloun <mmel@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: 54d07b44aa534277d72fa570498bd379c06d9a40
https://github.com/qemu/qemu/commit/54d07b44aa534277d72fa570498bd379c06d9a40
Author: Stacey Son <sson@FreeBSD.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/syscall_defs.h
Log Message:
-----------
bsd-user: Add struct target_freebsd_fhandle and fcntl flags
Add struct target_freebsd_fhandle and fcntl flags to
bsd-user/syscall_defs.h
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Warner Losh <imp@bsdimp.com>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: 243c725fe7489b15aa441a20b0298035481da2f9
https://github.com/qemu/qemu/commit/243c725fe7489b15aa441a20b0298035481da2f9
Author: Kyle Evans <kevans@FreeBSD.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/syscall_defs.h
Log Message:
-----------
bsd-user: Define safe_fcntl macro in bsd-user/syscall_defs.h
Signed-off-by: Kyle Evans <kevans@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: a0c20b1b36576042d1c2789f92b42043f48409c4
https://github.com/qemu/qemu/commit/a0c20b1b36576042d1c2789f92b42043f48409c4
Author: Warner Losh <imp@bsdimp.com>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/syscall_defs.h
Log Message:
-----------
bsd-user: Rename target_freebsd_time_t to target_time_t
This is necessary for future code using target_time_t, in
bsd-user/syscall_defs.
Signed-off-by: Warner Losh <imp@bsdimp.com>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 86547e577bdfe55f32778a052b82227599233067
https://github.com/qemu/qemu/commit/86547e577bdfe55f32778a052b82227599233067
Author: Stacey Son <sson@FreeBSD.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
A bsd-user/freebsd/os-stat.c
Log Message:
-----------
bsd-user: Implement h2t_freebsd11_stat h2t_freebsd_nstat
Implement the stat conversion functions:
h2t_freebsd11_stat
h2t_freebsd_nstat
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: f2bc92aaf3d2944fd41073ed3bfb5addf9ee96e7
https://github.com/qemu/qemu/commit/f2bc92aaf3d2944fd41073ed3bfb5addf9ee96e7
Author: Stacey Son <sson@FreeBSD.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/freebsd/os-stat.c
Log Message:
-----------
bsd-user: Implement h2t_freebsd_fhandle t2h_freebsd_fhandle
Implement the stat conversion functions:
h2t_freebsd_fhandle
t2h_freebsd_fhandle
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: 5aa88f962cac2e93f222c48c92a14d685aaf00e7
https://github.com/qemu/qemu/commit/5aa88f962cac2e93f222c48c92a14d685aaf00e7
Author: Stacey Son <sson@FreeBSD.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/freebsd/os-stat.c
Log Message:
-----------
bsd-user: Implement h2t_freebds11_statfs
Implement the stat conversion functions:
h2t_freebds11_statfs
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: 584d6fce65bd80335795d80c0e9bf1062ef3c4f6
https://github.com/qemu/qemu/commit/584d6fce65bd80335795d80c0e9bf1062ef3c4f6
Author: Stacey Son <sson@FreeBSD.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/freebsd/os-stat.c
Log Message:
-----------
bsd-user: Implement target_to_host_fcntl_cmd
Implement the stat conversion functions:
target_to_host_fcntl_cmd
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: f9d5a35fbbfeb534e748fc79df7f3f85b83c695a
https://github.com/qemu/qemu/commit/f9d5a35fbbfeb534e748fc79df7f3f85b83c695a
Author: Michal Meloun <mmel@FreeBSD.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/freebsd/os-stat.c
Log Message:
-----------
bsd-uesr: Implement h2t_freebsd_stat and h2t_freebsd_statfs functions
They are the 64-bit variants of h2t_freebsd11_stat and
h2t_freebsd11_statfs, respectively
Signed-off-by: Michal Meloun <mmel@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: bf14f13d8be8f572fa169a866d3244fa4a1988ac
https://github.com/qemu/qemu/commit/bf14f13d8be8f572fa169a866d3244fa4a1988ac
Author: Stacey Son <sson@FreeBSD.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
A bsd-user/freebsd/os-stat.h
Log Message:
-----------
bsd-user: Implement stat related syscalls
Implement the following syscalls:
stat(2)
lstat(2)
fstat(2)
fstatat(2)
nstat
nfstat
nlstat
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: db8ee08f0a88ae04ee6b684690a3d53f862e7ea3
https://github.com/qemu/qemu/commit/db8ee08f0a88ae04ee6b684690a3d53f862e7ea3
Author: Stacey Son <sson@FreeBSD.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/freebsd/os-stat.h
Log Message:
-----------
bsd-user: Implement statfh related syscalls
Implement the following syscalls:
getfh(2)
lgetfh(2)
fhopen(2)
fhstat(2)
fhstatfs(2)
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: 191fe50d5dc8f26e0049d62e92d192d410520fab
https://github.com/qemu/qemu/commit/191fe50d5dc8f26e0049d62e92d192d410520fab
Author: Stacey Son <sson@FreeBSD.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/freebsd/os-stat.h
Log Message:
-----------
bsd-user: Implement statfs related syscalls
Implement the following syscalls:
statfs(2)
fstatfs(2)
getfsstat(2)
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: 213444529de083d1cbd1ef2391a1323207182f93
https://github.com/qemu/qemu/commit/213444529de083d1cbd1ef2391a1323207182f93
Author: Stacey Son <sson@FreeBSD.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/freebsd/os-stat.h
Log Message:
-----------
bsd-user: Implement getdents related syscalls
Implement the following syscalls:
getdents(2)
getdirecentries(2)
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: c0023204cb05f330c51432fdcae8929413ff6d73
https://github.com/qemu/qemu/commit/c0023204cb05f330c51432fdcae8929413ff6d73
Author: Stacey Son <sson@FreeBSD.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/freebsd/os-stat.h
Log Message:
-----------
bsd-user: Implement stat related syscalls
Implement the following syscalls:
fcntl(2)
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: b443297793ef696f282e470775dc89815758fb24
https://github.com/qemu/qemu/commit/b443297793ef696f282e470775dc89815758fb24
Author: Michal Meloun <mmel@FreeBSD.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/freebsd/os-stat.h
Log Message:
-----------
bsd-user: Implement freebsd11 stat related syscalls
Rename the following syscalls to the freebsd11 variant:
do_freebsd_lstat -> do_freebsd11_lstat
do_freebsd_stat -> do_freebsd11_stat
Co-authored-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Michal Meloun <mmel@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: 33d730684efbe9f9343a07a6f4259e322d22f63e
https://github.com/qemu/qemu/commit/33d730684efbe9f9343a07a6f4259e322d22f63e
Author: Michal Meloun <mmel@FreeBSD.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/freebsd/os-stat.h
Log Message:
-----------
bsd-user: Implement freebsd11 fstat and fhstat related syscalls
Implement the freebsd11 variant of the following syscalls:
fstat(2)
fstatat(2)
fhstat(2)
fhstatfs(2)
Co-authored-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Michal Meloun <mmel@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: 196da9d3d3f1ab142473a6b2f714720ba1b29a33
https://github.com/qemu/qemu/commit/196da9d3d3f1ab142473a6b2f714720ba1b29a33
Author: Michal Meloun <mmel@FreeBSD.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/freebsd/os-stat.h
Log Message:
-----------
bsd-user: Implement freebsd11 statfs related syscalls
Implement the freebsd11 variant of the following syscalls:
statfs(2)
fstatfs(2)
getfsstat(2)
Co-authored-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Michal Meloun <mmel@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: 91a98c9bbcfba2a9f278a0811676cd2f8000481c
https://github.com/qemu/qemu/commit/91a98c9bbcfba2a9f278a0811676cd2f8000481c
Author: Michal Meloun <mmel@FreeBSD.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/freebsd/os-stat.h
Log Message:
-----------
bsd-user: Implement freebsd11 getdirents related syscalls
Implement the freebsd11 variant of the following syscalls:
getdirentries(2)
Co-authored-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Michal Meloun <mmel@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: 292f00c05bfa62a020eee5eb1d8c0983e8483b33
https://github.com/qemu/qemu/commit/292f00c05bfa62a020eee5eb1d8c0983e8483b33
Author: Michal Meloun <mmel@FreeBSD.org>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/freebsd/os-stat.h
Log Message:
-----------
bsd-user: Implement freebsd11 netbsd stat related syscalls
Forward declaration of the nstat syscalls:
nstat
nlstat
nfstat
Co-authored-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Stacey Son <sson@FreeBSD.org>
Signed-off-by: Michal Meloun <mmel@FreeBSD.org>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: 292bfd0f512aa71fcc8f7e2f6ce2aa40a5a825ef
https://github.com/qemu/qemu/commit/292bfd0f512aa71fcc8f7e2f6ce2aa40a5a825ef
Author: Mikaël Urankar <mikael.urankar@gmail.com>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/freebsd/os-stat.h
Log Message:
-----------
bsd-user: Implement do_freebsd_realpathat syscall
Signed-off-by: Mikaël Urankar <mikael.urankar@gmail.com>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: c97c1f3a9f4d4a5bebf88c844b9b3fc07c4296e3
https://github.com/qemu/qemu/commit/c97c1f3a9f4d4a5bebf88c844b9b3fc07c4296e3
Author: Karim Taha <kariem.taha2.7@gmail.com>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/freebsd/meson.build
Log Message:
-----------
bsd-user: Add os-stat.c to the build
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: e800e6c541b4088a52f4c0129eb4cbbf8a0ea9fb
https://github.com/qemu/qemu/commit/e800e6c541b4088a52f4c0129eb4cbbf8a0ea9fb
Author: Warner Losh <imp@bsdimp.com>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/freebsd/os-syscall.c
Log Message:
-----------
bsd-user: Add glue for the freebsd11_stat syscalls
Add glue to call the freebsd11_stat syscalls to the freebsd_syscall:
freebsd11_stat
freebsd11_lstat
freebsd11_fstat
freebsd11_fstatat
freebsd11_nstat, freebsd11_nfstat, freebsd11_nlstat
fstatat
fstat
Signed-off-by: Warner Losh <imp@bsdimp.com>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: 6fe97c6cf7969bcf809a89ecabc30acf10b77735
https://github.com/qemu/qemu/commit/6fe97c6cf7969bcf809a89ecabc30acf10b77735
Author: Warner Losh <imp@bsdimp.com>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/freebsd/os-syscall.c
Log Message:
-----------
bsd-user: Add glue for getfh and related syscalls
Add glue to call the following syscalls to the freebsd_syscall:
getfh
lgetfh
fhopen
freebsd11_fhstat
freebsd11_fhstatfs
fhstat
fhstatfs
Signed-off-by: Warner Losh <imp@bsdimp.com>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Commit: d7e9a545084ba1ded8fe864697db174cc3e6ebe2
https://github.com/qemu/qemu/commit/d7e9a545084ba1ded8fe864697db174cc3e6ebe2
Author: Warner Losh <imp@bsdimp.com>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/freebsd/os-syscall.c
Log Message:
-----------
bsd-user: Add glue for statfs related system calls
Add glue to call the following syscalls to the freebsd_syscall:
freebsd11_statfs
statfs
freebsd11_fstatfs
fstatfs
freebsd11_getfsstat
getfsstat
Signed-off-by: Warner Losh <imp@bsdimp.com>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Commit: 97a3c571147c3b62a79a994ebd85769419e630c2
https://github.com/qemu/qemu/commit/97a3c571147c3b62a79a994ebd85769419e630c2
Author: Warner Losh <imp@bsdimp.com>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/freebsd/os-syscall.c
Log Message:
-----------
bsd-user: Add getdents and fcntl related system calls
Add glue to call the following syscalls to the freebsd_syscall:
freebsd11_getdents
getdirentries
freebsd11_getdirentries
fcntl
Signed-off-by: Warner Losh <imp@bsdimp.com>
Signed-off-by: Karim Taha <kariem.taha2.7@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Warner Losh <imp@bsdimp.com>
Commit: f51e7c41acb4b17d28fc74f9f10df50a4a65fbcc
https://github.com/qemu/qemu/commit/f51e7c41acb4b17d28fc74f9f10df50a4a65fbcc
Author: Warner Losh <imp@bsdimp.com>
Date: 2023-08-28 (Mon, 28 Aug 2023)
Changed paths:
M bsd-user/freebsd/os-syscall.c
Log Message:
-----------
bsd-user: Add missing break after do_bsd_preadv
Without it, we'd call preadv, then write with weird parameters, which is
clearly not ideal...
Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Fixes: 770d8abae7 ("bsd-user/bsd-file.h: Meat of the write system calls")
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230820045419.89691-1-imp@bsdimp.com>
Commit: 813bac3d8d70d85cb7835f7945eb9eed84c2d8d0
https://github.com/qemu/qemu/commit/813bac3d8d70d85cb7835f7945eb9eed84c2d8d0
Author: Stefan Hajnoczi <stefanha@redhat.com>
Date: 2023-08-29 (Tue, 29 Aug 2023)
Changed paths:
M bsd-user/arm/target_arch_elf.h
M bsd-user/elfload.c
M bsd-user/freebsd/meson.build
A bsd-user/freebsd/os-stat.c
A bsd-user/freebsd/os-stat.h
M bsd-user/freebsd/os-syscall.c
A bsd-user/freebsd/qemu-os.h
M bsd-user/i386/target_arch_elf.h
M bsd-user/main.c
M bsd-user/qemu.h
M bsd-user/signal.c
M bsd-user/syscall_defs.h
M bsd-user/x86_64/target_arch_elf.h
M include/qemu/compiler.h
M include/qemu/osdep.h
Log Message:
-----------
Merge tag '2023q3-bsd-user-pull-request' of https://gitlab.com/bsdimp/qemu
into staging
Pull request for bsd-user 2023 Q3 (first batch)
First batch of commits submitted by my GSoC student Karim Taha
These implement the stat, statfs, statfh and dirents system calls.
In addition, fix a missing break statment, and submit Richard Henderson's
elf stat mmap cleansup.
# -----BEGIN PGP SIGNATURE-----
# Comment: GPGTools - https://gpgtools.org
#
# iQIzBAABCgAdFiEEIDX4lLAKo898zeG3bBzRKH2wEQAFAmTtL6EACgkQbBzRKH2w
# EQALHQ//WOoHYxpNS1hy+oYIAvjW0JOqz9gCSFR0d56mDBShm7WO/9FZA6eGAzYQ
# i5kBSVFwEBlM76K5vLTbRvCbCbAwlpAdMgI7HXValjspNhvu/66DNWmdil6GnXKu
# 4QRaM/QGrobmYrNmf4SdgyjlMVH7wGyTrCTpXfvPfktZLAbQq7dCyNPTsOYXJP2V
# LASk8j2gyW6fDi3z1AxTNVfS7BJX6DWMhPhlvC/aUOLVVGgj9Hw9uxPaKXC1t47D
# bpZ+wJb4GMkcsmuiGJ40CXowjQ+M1lBrA4rN+lTMJNttZJ+TUYmizTFkYhX+B28h
# Q2JZy5eLXlsxxRByOkOwFczfDT6jlG4BlK4jmDOvKlrTPLaWIHjezztTavWIZDlU
# ce1oXQo3KEdWoa/QEsuxLeBbE+uZpu5+NqLeCk1cU4GPks8nbAcD7BGl6dDHKXM4
# 8vCcOMZLwO+xi5Etgcf/MtTPMpSO0rD9fTq2VSdYX0H197mkOdyCDAXjfKPsBUIE
# VLAnCFfajMNRc5ITobEbz4GiMD/xy5s8eDZNeefG8lgySpl9XB2Lvw7SWDz1imsL
# nBgQH6RHznU65wEvVGtnCGMj5kIMbohY2AGR75iGkRdgR+t2zMjUIiaU/qivD+6z
# IEJ2jqDWqtQb81jFNrFzJlsim+GYRl0HcaEmyye2bgf5LHRSSNM=
# =ORJ7
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 28 Aug 2023 19:37:05 EDT
# gpg: using RSA key 2035F894B00AA3CF7CCDE1B76C1CD1287DB01100
# gpg: Good signature from "Warner Losh <wlosh@netflix.com>" [unknown]
# gpg: aka "Warner Losh <imp@bsdimp.com>" [unknown]
# gpg: aka "Warner Losh <imp@freebsd.org>" [unknown]
# gpg: aka "Warner Losh <imp@village.org>" [unknown]
# gpg: aka "Warner Losh <wlosh@bsdimp.com>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg: There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 2035 F894 B00A A3CF 7CCD E1B7 6C1C D128 7DB0 1100
* tag '2023q3-bsd-user-pull-request' of https://gitlab.com/bsdimp/qemu: (36
commits)
bsd-user: Add missing break after do_bsd_preadv
bsd-user: Add getdents and fcntl related system calls
bsd-user: Add glue for statfs related system calls
bsd-user: Add glue for getfh and related syscalls
bsd-user: Add glue for the freebsd11_stat syscalls
bsd-user: Add os-stat.c to the build
bsd-user: Implement do_freebsd_realpathat syscall
bsd-user: Implement freebsd11 netbsd stat related syscalls
bsd-user: Implement freebsd11 getdirents related syscalls
bsd-user: Implement freebsd11 statfs related syscalls
bsd-user: Implement freebsd11 fstat and fhstat related syscalls
bsd-user: Implement freebsd11 stat related syscalls
bsd-user: Implement stat related syscalls
bsd-user: Implement getdents related syscalls
bsd-user: Implement statfs related syscalls
bsd-user: Implement statfh related syscalls
bsd-user: Implement stat related syscalls
bsd-uesr: Implement h2t_freebsd_stat and h2t_freebsd_statfs functions
bsd-user: Implement target_to_host_fcntl_cmd
bsd-user: Implement h2t_freebds11_statfs
...
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Compare: https://github.com/qemu/qemu/compare/f5fe7c17ac4e...813bac3d8d70
- [Qemu-commits] [qemu/qemu] 935f1d: bsd-user: Remove ELF_START_MMAP and image_info.sta...,
Alex Bennée <=