Home
last modified time | relevance | path

Searched +full:qemu +full:- +full:4 +full:- +full:build (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/sys/contrib/openzfs/.github/workflows/
H A Dzfs-qemu.yml1 name: zfs-qemu
22 …tion: "(optional) Experimental kernel version to install on Fedora (like '6.14' or '6.13.3-0.rc3')"
25 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
26 cancel-in-progress: true
29 test-config:
31 runs-on: ubuntu-24.04
36 - uses: actions/checkout@v4
38 fetch-depth: 0
39 - name: Generate OS config and CI type
42 …, "debian11", "debian12", "fedora41", "fedora42", "freebsd13-4r", "freebsd14-3s", "freebsd15-0c", …
[all …]
H A Dzfs-qemu-packages.yml1 # This workflow is used to build and test RPM packages. It is a
6 # Build RPMs - Build release RPMs and tarballs and put them into an artifact
10 # Test repo - Test install the ZFS RPMs from the ZFS repo. On EL distos, this
17 # zfs-release RPM (http://download.zfsonlinux.org).
22 name: zfs-qemu-packages
30 default: "Build RPMs"
31 description: "Build RPMs or test the repo?"
33 - "Build RPMs"
34 - "Test repo"
41 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
[all …]
/freebsd/sys/contrib/openzfs/.github/workflows/scripts/
H A Dqemu-4-build.sh4 # 4) configure and build openzfs modules
6 echo "Build modules in QEMU machine"
9 .github/workflows/scripts/qemu-prepare-for-build.sh
11 ssh zfs@vm0 '$HOME/zfs/.github/workflows/scripts/qemu-4-build-vm.sh' $@
H A Dqemu-2-start.sh4 # 2) start qemu with some operating system, init via cloud-init
7 set -eu
9 # short name used in zfs-qemu.yml
12 # OS variant (virt-install --os-variant list)
16 FREEBSD_REL="https://download.freebsd.org/releases/CI-IMAGES"
17 FREEBSD_SNAP="https://download.freebsd.org/snapshots/CI-IMAGES"
21 UBMIRROR="https://cloud-images.ubuntu.com"
22 #UBMIRROR="https://mirrors.cloud.tencent.com/ubuntu-cloud-images"
23 #UBMIRROR="https://mirror.citrahost.com/ubuntu-cloud-images"
31 …URL="https://repo.almalinux.org/almalinux/8/cloud/x86_64/images/AlmaLinux-8-GenericCloud-latest.x8…
[all …]
H A Dqemu-4-build-vm.sh4 # 4) configure and build openzfs modules. This is run on the VMs.
8 # qemu-4-build-vm.sh OS [--enable-debug][--dkms][--poweroff]
9 # [--release][--repo][--tarball]
12 # --enable-debug: Build RPMs with '--enable-debug' (for testing)
13 # --dkms: Build DKMS RPMs as well
14 # --poweroff: Power-off the VM after building
15 # --release Build zfs-release*.rpm as well
16 # --repo After building everything, copy RPMs into /tmp/repo
19 # --tarball: Also build a tarball of ZFS source
28 while [[ $# -gt 0 ]]; do
[all …]
/freebsd/tools/boot/
H A Dfull-test.readme4 ~/stand-test-root/cache. You can find the tarball at
8 (2) The latest qemu-system-aarch64 (I think ports/pkg version of emulators/qemu
9 is recent enough). If not, I know the latest master of qemu project works.
12 architectures that I build. You can hack the ARCHES line near the top of
13 tools/boot/full-test.sh if need be, but you'll need at least amd64, arm64 and
17 (4) Build the kernel for at least arm64 and use it as an 'override'. I do this
18 by sudo -E make installkernel
19 DESTDIR=$HOME/stand-test-root/override/arm64-aarch64 TARGET=arm64 after
24 (5) You'll need to build the images. If you've done 1-5 correctly (and I've not
25 missed anything), then "cd <mumble>/src; sh tools/boot/full-test.sh" will create
[all …]
H A Dfull-test.sh4 # cache - Cached binaries that we have downloaded
5 # trees - binary trees that we use to make image
7 # images - bootable images that we use to test
9 # bios - cached bios images (as well as 'vars' files when we start testing
11 # scripts - generated scripts that uses images to run the tests.
16 # use qemu-system-XXXX to boot. They all boot the same thing at the moment:
23 # eg https://download.freebsd.org/releases/amd64/amd64/ISO-IMAGES/14.2/FreeBSD-14.2-RELEASE-amd64-b…
25 : ${STAND_ROOT:="${HOME}/stand-test-root"}
38 if [ -f ${t}/tools/build/make.py ]; then
39 MAKE="${t}/tools/build/make.py"
[all …]
/freebsd/tests/ci/
H A DMakefile1 # SPDX-License-Identifier: BSD-2-Clause
10 # User-driven targets:
12 # ci-smoke: Run smoke tests which is simply booting the image
13 # ci-full: Run full tests
15 # Variables affecting the build process:
16 # TARGET/TARGET_ARCH: architecture of built release (default: same as build host)
18 # USE_QEMU: Use QEMU for testing rather than bhyve
25 _MEMORY!=sysctl -n hw.physmem 2>/dev/null
26 PARALLEL_JOBS!=sysctl -n hw.ncpu 2>/dev/null || nproc 2>/dev/null
57 OSRELEASE= ${TYPE}-${REVISION}-${BRANCH}-${TARGET}
[all …]
/freebsd/tools/tools/nanobsd/embedded/
H A Dcommon2 #-
4 # Copyright (c) 2010-2011 iXsystems, Inc.
40 # o mtools still needed because we have no makefs -t msdos
51 # o documentation for how to run the qemu images
54 # o qemu image for aarch64
55 # o qemu image for armv7
58 # o uses old kludge to build image w/o ownership being right
59 # for many files. Should move to mtree-dedup.awk.
64 # o common tooling for creating images for odd-ball platforms
70 if [ -z $NANO_NAME ]; then
[all …]
/freebsd/usr.sbin/binmiscctl/
H A Dbinmiscctl.81 .\"-
38 .Fl -interpreter
40 .Fl -magic
42 .Fl -size
44 .Op Fl -mask Ar mask
45 .Op Fl -offset Ar offset
46 .Op Fl -set-enabled
47 .Op Fl -pre-open
76 .Bl -tag -width indent
80 .Fl -interpreter
[all …]
/freebsd/stand/kboot/
H A DREADME4 (2) mkdir -p .../initrd/boot/defaults
6 (4) Copy kernel to .../initrd/boot/kernel
9 (7) find . | sort | cpio -o -H newc | gzip > /tmp/initrd.cpio
10 (8) download or build your linux kernel
11 (9) qemu-system-x86_64 -kernel ~/vmlinuz-5.19.0-051900-generic \
12 -initrd /tmp/initrd.cpio \
13 -m 256m -nographic \
14 -monitor telnet::4444,server,nowait -serial stdio \
15 -append "console=ttyS0"
28 For #8, see https://kernel.ubuntu.com/~kernel-ppa/mainline/ to download
[all …]
/freebsd/sys/riscv/conf/
H A DNOTES2 # NOTES -- Lines that can be cut/pasted into kernel and hints configs.
11 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
23 # RISC-V SBI console
41 # NOTE: dtrace introduces CDDL-licensed components into the kernel
47 device uart_ns8250 # ns8250-type UART driver
51 device goldfish_rtc # QEMU RTC
62 device xilinx_spi # Xilinx AXI Quad-SPI Controller
93 # Don't yet have hwpmc(4)
[all...]
H A DGENERIC2 # GENERIC -- Generic kernel configuration file for FreeBSD/RISC-V
7 # https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config
23 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
42 options UFS_GJOURNAL # Enable gjournal-based UFS journaling
51 options PSEUDOFS # Pseudo-filesystem framework
61 options SYSVSHM # SYSV-style shared memory
62 options SYSVMSG # SYSV-style message queues
63 options SYSVSEM # SYSV-style semaphores
64 options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
67 # options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4)
[all …]
/freebsd/sys/powerpc/conf/
H A DGENERIC642 # GENERIC64 -- Generic kernel configuration file for FreeBSD/powerpc64
7 # https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config
25 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
32 options QEMU # QEMU processor emulator
33 options PSERIES # PAPR-compliant systems (e.g. IBM p)
34 options POWERNV # Non-virtualized OpenPOWER systems
38 options NUMA # Non-Uniform Memory Architecture support
55 options UFS_GJOURNAL # Enable gjournal-based UFS journaling
66 options PSEUDOFS # Pseudo-filesystem framework
83 options SYSVSHM # SYSV-style shared memory
[all …]
H A DGENERIC64LE2 # GENERIC64LE -- Generic kernel configuration file for FreeBSD/powerpc64le
7 # https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config
25 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols
30 options QEMU # QEMU processor emulator
31 options PSERIES # PAPR-compliant systems (e.g. IBM p)
32 options POWERNV # Non-virtualized OpenPOWER systems
37 options NUMA # Non-Uniform Memory Architecture support
53 options UFS_GJOURNAL # Enable gjournal-based UFS journaling
64 options PSEUDOFS # Pseudo-filesystem framework
79 options SYSVSHM # SYSV-style shared memory
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Dintel2 #------------------------------------------------------------------------------
11 # whatever comes next (HP-PA Hummingbird?). OS/2 may also go elsewhere
14 # The `versions' should be un-commented if they work for you.
17 0 leshort 0502 basic-16 executable
19 #>22 leshort >0 - version %d
20 0 leshort 0503 basic-16 executable (TV)
22 #>22 leshort >0 - version %d
29 #>22 leshort >0 - version %d
32 #>22 leshort >0 - version %d
38 # SGI labeled the next entry as "iAPX 386 executable" --Dan Quinlan
[all …]
/freebsd/share/man/man7/
H A Dbuild.71 .\"-
2 .\" SPDX-License-Identifier: BSD-2-Clause
32 .Nm build
33 .Nd general instructions on how to build the
45 These directories may be initially empty or non-existent until updated with
65 For more information about the ports build process, see
70 command is used in each of these directories to build and install the
80 A source tree is allowed to be read-only.
95 The build may be controlled by defining
102 The default components included in the build are specified in the file
[all …]
/freebsd/usr.sbin/bhyve/
H A Dbhyverun.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
126 * The acceptance of a null specification ('-c ""') is by design to match the
144 errx(4, "Failed to allocate memory"); in bhyve_topology_parse()
165 return (-1); in bhyve_topology_parse()
178 errx(4, "Invalid value for %s: '%s'", key, value); in parse_int_value()
226 errx(4, "Computed number of vCPUs too high: %ju", in calc_topology()
231 errx(4, "Topology (%d sockets, %d cores, %d threads) " in calc_topology()
249 return (-1); in bhyve_pincpu_parse()
254 return (-1); in bhyve_pincpu_parse()
[all …]
/freebsd/
H A DMakefile3 # The common user-driven targets are (for a complete list, see build(7)):
5 # universe - *Really* build *everything* (buildworld and
7 # MAKE_JUST_KERNELS or WITHOUT_WORLDS to only build kernels,
8 # MAKE_JUST_WORLDS or WITHOUT_KERNELS to only build userland.
9 # tinderbox - Same as universe, but presents a list of failed build
11 # worlds - Same as universe, except just makes the worlds.
12 # kernels - Sam
[all...]
H A DUPDATING1 Updating Information for users of FreeBSD-CURRENT.
9 https://docs.freebsd.org/en/books/handbook/cutting-edge/#makeworld
22 includes various WITNESS- related kernel options, INVARIANTS, malloc
24 kernel. Many developers choose to disable these features on build
28 at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".)
31 "make delete-old" will now remove the Forth bootloader entirely
35 MIT KRB5 (MIT Kerberos5) has been imported into 15-CURRENT. To
37 will build and install MIT KRB5 1.21.3. And it will remove Heimdal
38 1.5.2 when delete-old and delete-old-libs are run. To revert back
39 simply buildworld/installworld again with delete-old-libs and
[all …]
H A DMakefile.inc14 # -DNO_CLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir
5 # -DNO_CLEAN do not clean at all
6 # -DDB_FROM_SRC use the user/group databases in src/etc instead of
8 # -DNO_SHARE do not go into share subdir
9 # -DKERNFAST define NO_KERNEL{CONFIG,CLEAN,OBJ}
10 # -DNO_KERNELCONFIG do not run config in ${MAKE} buildkernel
11 # -DNO_KERNELCLEAN do not run ${MAKE} clean in ${MAKE} buildkernel
12 # -DNO_KERNELOBJ do not run ${MAKE} obj in ${MAKE} buildkernel
13 # -DNO_ROOT install without using root privilege
14 # -DWITHOUT_CTF do not run the DTrace CTF conversion tools on built objects
[all …]
/freebsd/contrib/atf/
H A DNEWS8 DON'T FORGET TO BUMP THE -version-info PRE-RELEASE IF NECESSARY!
10 * Issue #23: Fix double-free triggered by atf_map_insert in low memory
18 * Added the atf_check_not_equal function to atf-sh to check for
30 * Added the -s flag to atf-sh to support specifying the shell interpreter
39 relevant manual pages. This information was lost with the atf-config(1)
46 * Renamed the atf-{c,c++,sh}-api(3) manual pages to atf-{c,c++,sh}(3) for
53 * Issue #7: Stopped catching unhandled exceptions in atf-c++ tests. This
58 * Issue #8: Fixed atf-c/macros_test:use test failures spotted by the clang
59 that ships with FreeBSD 11.0-CURRENT.
61 * Issue #12: Improved documentation of atf-sh(3) and atf-check(1) by better
[all …]
/freebsd/contrib/libpcap/
H A DCHANGES5 Mark pcap_vasprintf() as printf-like.
16 Avoid casting hack for the Windows cleanup-on-exit routine.
21 Remove the unused pcap-rpcap-int.h header file.
23 Make some static variables thread-local; fixes issue #1174.
36 Avoid 32-bit unsigned integer overflow in USB captures. Fixes
49 Report {non-existent zone}/{interface} errors appropriately.
50 Allow attaching to links owned by a non-global zone. (Based on
55 in recent SDKs, including tagging pcap-namedb.h routines.
62 Fix various build problems. Fixes issue #1114.
63 Report non-existent devices correctly.
[all …]
/freebsd/sys/conf/
H A DNOTES2 # NOTES -- Lines that can be cut/pasted into kernel and hints configs.
11 # Please use ``make LINT'' to create an old-style LINT file if you want to
12 # do kernel test-builds.
48 # auto-size based on physical memory.
63 # generated Makefile in the build area.
66 # after most other flags. Here we use it to inhibit use of non-optimal
67 # gcc built-in functions (e.g., memcmp).
70 # The following is equivalent to 'config -g KERNELNAME' and creates
71 # 'kernel.debug' compiled with -g debugging as well as a normal
81 makeoptions CONF_CFLAGS=-fno-builtin #Don't allow use of memcmp, etc.
[all …]
/freebsd/contrib/file/src/
H A Dreadelf.c55 #define ELF_ALIGN(a) ((((a) + align - 1) / align) * align)
64 #define SIZE_UNKNOWN CAST(off_t, -1)
71 if (ms->flags & MAGIC_MIME) in toomany()
73 if (file_printf(ms, ", too many %s (%u)", name, num) == -1) in toomany()
74 return -1; in toomany()
102 char c[4]; in getu32()
132 retval.c[3] = tmpval.c[4]; in getu64()
133 retval.c[4] = tmpval.c[3]; in getu64()
180 elf_getu32(swap, ph32.p_align) : 4))\
182 elf_getu64(swap, ph64.p_align) : 4))))
[all …]

12