NetBSD fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest24 patches 48 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/24 | Fix lock directory path for NetBSDm4/ | +1 | 0 replies | |
| 2/24 | NetBSD doens't need xenbackendd with xl toolstacktools/ | +0 | 1 reply | |
| 3/24 | Fix lock directory path for NetBSDtools/ | +1 | 0 replies | |
| 4/24 | Make xg_main.c build on NetBSDtools/ | +11 | 1 reply | |
| 5/24 | Introduce locking functions for block device setup on NetBSDtools/ tools/ tools/ | +77 | 8 replies | |
| 6/24 | Handle the case where vifname is not present in xenstore.tools/ tools/ | +8 | 2 replies | |
| 7/24 | Remove NetBSD's system headers. We'll use the system-provided ones, which are up to date.tools/ tools/ tools/ | +1 | 4 replies | |
| 8/24 | Make libs/call build on NetBSDtools/ | +10 | 1 reply | |
| 9/24 | Use xen/xenio.h on NetBSDtools/ | +7 | 0 replies | |
| 10/24 | Make libs/evtchn build on NetBSDtools/ | +4 | 5 replies | |
| 11/24 | Implement foreignmemory on NetBSDtools/ tools/ tools/ | +75 | 3 replies | |
| 12/24 | Implement gnttab on NetBSDtools/ tools/ | +268 | 5 replies | |
| 13/24 | Don't assume tv_sec is a unsigned long (for NetBSD)tools/ | +4 | 3 replies | |
| 14/24 | Pass bridge name to qemu and set XEN_DOMAIN_IDtools/ | +10 | 3 replies | |
| 15/24 | Make libs/light build on NetBSDtools/ | +9 | 1 reply | |
| 16/24 | Switch NetBSD to QEMU_XEN (!traditional)tools/ | +1 | 2 replies | |
| 17/24 | Make libs/light build on NetBSDtools/ | +2 | 1 reply | |
| 18/24 | xeneventchn_stubs.c doens't need xen/sys/evtchn.h (NetBSD fix)tools/ | +0 | 1 reply | |
| 19/24 | errno may not be a gobal R/W variable, use a local variable instead (fix build on NetBSD)tools/ | +3 | 3 replies | |
| 20/24 | If FILENAME_MAX is defined, use it instead of arbitrary value (fix format-truncation errors with GCC >= 7)tools/ | +4 | 2 replies | |
| 21/24 | Fix unused functions/variables errortools/ | +0 | 0 replies | |
| 22/24 | If PTHREAD_STACK_MIN is not defined, use DEFAULT_THREAD_STACKSIZEtools/ | +4 | 1 reply | |
| 23/24 | Use xen/xenio.h on NetBSDtools/ | +4 | 0 replies | |
| 24/24 | Fix error: array subscript has type 'char' [-Werror=char-subscripts]tools/ tools/ xen/ | +4 | 0 replies |
Reviews trailers per patch
4 of 24 patches have a Reviewed-by or Acked-by.
| Patch | Roger Pau Monné |
|---|---|
| 1/24 | |
| 2/24 | |
| 3/24 | |
| 4/24 | |
| 5/24 | |
| 6/24 | |
| 7/24 | |
| 8/24 | |
| 9/24 | |
| 10/24 | R-b |
| 11/24 | |
| 12/24 | |
| 13/24 | R-b |
| 14/24 | |
| 15/24 | |
| 16/24 | |
| 17/24 | |
| 18/24 | R-b |
| 19/24 | |
| 20/24 | |
| 21/24 | |
| 22/24 | R-b |
| 23/24 | |
| 24/24 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/24] NetBSD fixes
Hello,
here is a set of 24 patches, which are needed to build and run the tools on NetBSD. They are extracted from NetBSD's pkgsrc repository for Xen 4.13, and ported to 4.15.
Manuel Bouyer (24):
Fix lock directory path for NetBSD
NetBSD doens't need xenbackendd with xl toolstack
Fix lock directory path for NetBSD
Make it build on NetBSD
Introduce locking functions for block device setup on NetBSD Handle the case where vifname is not present in xenstore. Remove NetBSD's system headers. We'll use the system-provided ones,
which are up to date.
Make it build on NetBSD
Use xen/xenio.h on NetBSD
Make it build on NetBSD
Implement foreignmemory on NetBSD
Implement gnttab on NetBSD
Don't assume tv_sec is a unsigned long (for NetBSD)
Pass bridge name to qemu When starting qemu, set an environnement
variable XEN_DOMAIN_ID, to be used by qemu helper scripts
Make it build on NetBSD
Switch NetBSD to QEMU_XEN (!traditional)
Make it build on NetBSD
This doens't need xen/sys/evtchn.h (NetBSD fix)
errno may not be a gobal R/W variable, use a local variable instead
(fix build on NetBSD)
If FILENAME_MAX is defined, use it instead of arbitrary value (fix
format-truncation errors with GCC >= 7)
Fix unused functions/variables error
If PTHREAD_STACK_MIN is not defined, use DEFAULT_THREAD_STACKSIZE Use xen/xenio.h on NetBSD
Fix error: array subscript has type 'char' [-Werror=char-subscripts]
m4/paths.m4 | 2 +- tools/Makefile | 1 - tools/configure | 2 +- tools/debugger/gdbsx/xg/xg_main.c | 11 + tools/hotplug/NetBSD/Makefile | 1 + tools/hotplug/NetBSD/block | 5 +- tools/hotplug/NetBSD/locking.sh | 72 +++++ tools/hotplug/NetBSD/vif-bridge | 5 +- tools/hotplug/NetBSD/vif-ip | 4 + tools/include/Makefile | 2 +- tools/include/xen-sys/NetBSD/evtchn.h | 86 ------ tools/include/xen-sys/NetBSD/privcmd.h | 106 ------- tools/libs/call/netbsd.c | 18 +- tools/libs/call/private.h | 8 +- tools/libs/ctrl/xc_private.h | 4 + tools/libs/evtchn/netbsd.c | 8 +- tools/libs/foreignmemory/Makefile | 2 +- tools/libs/foreignmemory/netbsd.c | 76 ++++- tools/libs/foreignmemory/private.h | 10 +- tools/libs/gnttab/Makefile | 2 +- tools/libs/gnttab/netbsd.c | 267 ++++++++++++++++++ tools/libs/light/libxl_create.c | 8 +- tools/libs/light/libxl_dm.c | 19 ++ tools/libs/light/libxl_netbsd.c | 2 +- tools/libs/light/libxl_qmp.c | 2 +- tools/libs/light/libxl_uuid.c | 4 +- tools/libs/stat/xenstat_netbsd.c | 11 - tools/libs/store/xs.c | 4 + tools/ocaml/libs/eventchn/xeneventchn_stubs.c | 1 - tools/xenpaging/xenpaging.c | 5 +- tools/xenpmd/xenpmd.c | 4 + tools/xentrace/xentrace.c | 2 +- xen/tools/symbols.c | 4 +- 33 files changed, 508 insertions(+), 250 deletions(-) create mode 100644 tools/hotplug/NetBSD/locking.sh delete mode 100644 tools/include/xen-sys/NetBSD/evtchn.h delete mode 100644 tools/include/xen-sys/NetBSD/privcmd.h create mode 100644 tools/libs/gnttab/netbsd.c
Signature · 1 line
2.28.0