Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/openzfs/.github/workflows/
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"
46 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
[all …]
H A Dzfs-qemu.yml1 name: zfs-qemu
12 …tion: "(optional) Experimental kernel version to install on Fedora (like '6.14' or '6.13.3-0.rc3')"
15 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
16 cancel-in-progress: true
19 test-config:
21 runs-on: ubuntu-24.04
26 - uses: actions/checkout@v4
28 fetch-depth: 0
29 - name: Generate OS config and CI type
38 ci_type=$(python3 .github/workflows/scripts/generate-ci-type.py $head $base)
[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"
28 # additional options for virt-install
[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][--patch-level NUM]
9 # [--poweroff][--release][--repo][--tarball]
12 # --enable-debug: Build RPMs with '--enable-debug' (for testing)
13 # --dkms: Build DKMS RPMs as well
14 # --patch-level NUM: Use a custom patch level number for packages.
15 # --poweroff: Power-off the VM after building
16 # --release Build zfs-release*.rpm as well
17 # --repo After building everything, copy RPMs into /tmp/repo
20 # --tarball: Also build a tarball of ZFS source
[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
62 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
43 options UFS_GJOURNAL # Enable gjournal-based UFS journaling
52 options PSEUDOFS # Pseudo-filesystem framework
62 options SYSVSHM # SYSV-style shared memory
63 options SYSVMSG # SYSV-style message queues
64 options SYSVSEM # SYSV-style semaphores
65 options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
68 # 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.72 .\" SPDX-License-Identifier: BSD-2-Clause
32 .Nm build
33 .Nd general instructions on how to build the
41 .Bl -tag -width "/usr/ports"
44 loosely defined as everything required to build the system
49 third-party software, with a consistent interface for building and
54 These directories may be initially empty or non-existent until updated
64 command is used in each of these directories to build and install the
74 A source tree is allowed to be read-only.
98 The default components included in the build are specified in the file
[all …]
/freebsd/
H A DRELNOTES3 This file describes new user-visible features, changes and updates relevant to
14 The FreeBSD-base repository is now defined in /etc/pkg/FreeBSD.conf,
16 15.0-RC1 (if running releng/15.0) or November 15th (if running from
18 FreeBSD-base repository from /usr/local/etc/pkg/repos/ and replace
19 it with a single line "FreeBSD-base: { enabled: yes }".
22 Add a "-f" option to "kadmin -l dump" which can be used to
26 for how to use "-f" to transfer/convert the KDC database.
32 Regarding user-facing changes, the only practical difference is the
45 …f2c1, 110111a6cca1, 5f8493bbf479, e447c252d0ec, 4680e7fcc70a, 188138106b9f, 4cb1baa7d85c, 805498e4…
48 Heimdal build plumbing will be removed in 16.
[all …]
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 - Same as universe, except just makes the kernels.
13 # buildworld - Rebuild *everything*, including glue to help do
15 # installworld - Install everything built by "buildworld".
16 # world - buildworld + installworld, no kernel.
[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 The FreeBSD-base repository is now defined in /etc/pkg/FreeBSD.conf,
32 disabled by default. In -CURRENT and -STABLE this points at nightly
37 FreeBSD-base repository in /usr/local/etc/pkg/repos/ with a single
38 line "FreeBSD-base: { enabled: yes }".
42 "pam" package. The pam-lib subpackage, which includes libpam, will
[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/usr.sbin/bhyve/
H A Dbhyverun.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
133 * The acceptance of a null specification ('-c ""') is by design to match the
151 errx(4, "Failed to allocate memory"); in bhyve_topology_parse()
172 return (-1); in bhyve_topology_parse()
185 errx(4, "Invalid value for %s: '%s'", key, value); in parse_int_value()
192 int id = -1; in bhyve_numa_parse()
199 return (-1); in bhyve_numa_parse()
204 errx(4, "Failed to allocate memory"); in bhyve_numa_parse()
219 if (id == -1) { in bhyve_numa_parse()
[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 …]

12