Home
last modified time | relevance | path

Searched +full:qemu +full:- +full:1 +full:- +full:setup (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/sys/contrib/openzfs/.github/workflows/
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:
20 name: Setup
21 runs-on: ubuntu-24.04
26 - uses: actions/checkout@v4
28 fetch-depth: 0
29 - name: Generate OS config and CI type
[all …]
H A Dzfs-qemu-packages.yml6 # 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
33 - "Build RPMs"
34 - "Test repo"
46 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
47 cancel-in-progress: true
50 zfs-qemu-packages-jobs:
51 name: qemu-VMs
[all …]
/freebsd/sys/contrib/openzfs/.github/workflows/scripts/
H A Dqemu-6-tests.sh6 # called on runner: qemu-6-tests.sh
7 # called on qemu-vm: qemu-6-tests.sh $OS $2/$3
10 set -eu
13 ID="$1"
17 DIFF=$((CURRENT-TSSTART))
19 DIFF=$((DIFF-(H*3600)))
21 S=$((DIFF-(M*60)))
24 echo $LINE| grep -q '^\[.*] Test[: ]' && CTR=$((CTR+1)) && echo $CTR > /tmp/ctr
27 COLOR="$BASE/scripts/zfs-tests-color.sh"
29 | sed -e 's|^\[.*] Test|Test|g' \
[all …]
H A Dqemu-3-deps-vm.sh6 # $1: OS name (like 'fedora41')
11 set -eu
14 echo "##[group]Running pacman -Syu"
16 sudo pacman -Syu --noconfirm
20 sudo pacman -Sy --noconfirm base-devel bc cpio cryptsetup dhclient dkms \
21 fakeroot fio gdb inetutils jq less linux linux-headers lsscsi nfs-utils \
22 parted pax perf python-packaging python-setuptools qemu-guest-agent ksh \
23 samba strace sysstat rng-tools rsync wget xxhash
30 echo "##[group]Running apt-get update+upgrade"
31 sudo sed -i '/[[:alpha:]]-backports/d' /etc/apt/sources.list
[all …]
H A Dqemu-5-setup.sh7 set -eu
13 PID=$(pidof /usr/bin/qemu-system-x86_64)
14 tail --pid=$PID -f /dev/null
15 sudo virsh undefine --nvram openzfs
18 CPUSET=("0,1" "2,3")
20 # additional options for virt-install
22 OPTS[1]=""
32 OPTS[0]="--boot"
33 OPTS[1]="firmware=efi,firmware.feature0.name=secure-boot,firmware.feature0.enabled=no"
44 # setup the testing vm's
[all …]
H A Dqemu-1-setup.sh4 # 1) setup qemu instance on action runner
7 set -eu
14 (while [ 1 ] ; do sleep 30 && echo "[watchdog: $(ps -eo cmd --sort=-pcpu | head -n 2 | tail -n 1)}…
18 sudo apt-get -y update
19 sudo apt-get install -y axel cloud-image-utils daemonize guestfs-tools \
20 virt-manager linux-modules-extra-$(uname -r) zfsutils-linux
23 rm -f ~/.ssh/id_ed25519
24 ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 -q -N ""
31 sudo swapoff -a
32 sudo umount -l /mnt
[all …]
/freebsd/contrib/netbsd-tests/net/mpls/
H A Dt_ldp_regen.sh1 # $NetBSD: t_ldp_regen.sh,v 1.7 2016/08/10 07:50:37 ozaki-r Exp $
9 # 1. Redistributions of source code must retain the above copyright
29 # Create 4 routers connected like this: R1--R2--R3--R4--
44 RUMP_LIBS="-lrumpnet -lrumpnet_net -lrumpnet_netinet -lrumpnet_netinet6 \
45 -lrumpdev -lrumpnet_netmpls -lrumpnet_shmif"
59 RUMP_SERVER=${RUMP_SERVER4} atf_check -s exit:0 \
61 RUMP_SERVER=${RUMP_SERVER4} atf_check -s exit:0 \
62 rump.ifconfig -w 60
67 RUMP_SERVER=${RUMP_SERVER1} atf_check -s exit:0 -o ignore -e ignore \
68 rump.ping -n -o -w 5 10.0.5.1
[all …]
/freebsd/tools/boot/
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
40 case $(uname -m) in
[all …]
H A Drootgen.sh10 # Builds all the bat-shit crazy combinations we support booting from,
18 # This assumes an external program install-boot.sh which will install
25 . $(dirname $0)/install-boot.sh
28 src=$1
32 (cd $src ; tar cf - .) | (cd $dst; tar xf -)
36 dir=$1
39 /dev/ufs/root / ufs rw 1 1
44 src=$1
48 makefs -t ffs -B little -s 200m -o label=root ${img}.p2 ${src}
49 mkimg -s gpt -b ${src}/boot/pmbr \
[all …]
/freebsd/sys/dev/uart/
H A Duart_dev_pl011.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
10 * 1. Redistributions of source code must retain the above copyright
61 #define IS_FDT 1
68 #define DR_FE (1 << 8) /* Framing error */
69 #define DR_PE (1 << 9) /* Parity error */
70 #define DR_BE (1 << 10) /* Break error */
71 #define DR_OE (1 << 11) /* Overrun error */
74 #define FR_RXFE (1 << 4) /* Receive FIFO/reg empty */
75 #define FR_TXFF (1 << 5) /* Transmit FIFO/reg full */
[all …]
/freebsd/sys/arm/arm/
H A Dsp804.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
11 * 1. Redistributions of source code must retain the above copyright
55 #define TIMER_CONTROL_EN (1 << 7)
57 #define TIMER_CONTROL_PERIODIC (1 << 6)
58 #define TIMER_CONTROL_INTREN (1 << 5)
60 #define TIMER_CONTROL_DIV16 (1 << 2)
62 #define TIMER_CONTROL_32BIT (1 << 1)
63 #define TIMER_CONTROL_ONESHOT (1 << 0)
87 * QEMU seems to have problem with full frequency
[all …]
/freebsd/sys/dev/ufshci/
H A Dufshci_pci.c1 /*-
5 * SPDX-License-Identifier: BSD-2-Clause
51 } pci_ids[] = { { 0x131b36, "QEMU UFS Host Controller", UFSHCI_REF_CLK_19_2MHz,
69 while (ep->devid && ep->devid != devid) in ufshci_pci_probe()
72 if (ep->devid) { in ufshci_pci_probe()
73 ctrlr->quirks = ep->quirks; in ufshci_pci_probe()
74 ctrlr->ref_clk = ep->ref_clk; in ufshci_pci_probe()
77 if (ep->desc) { in ufshci_pci_probe()
78 device_set_desc(device, ep->desc); in ufshci_pci_probe()
88 ctrlr->resource_id = PCIR_BAR(0); in ufshci_pci_allocate_bar()
[all …]
/freebsd/sys/contrib/openzfs/scripts/
H A Dzfs-tests.sh2 # SPDX-License-Identifier: CDDL-1.0
14 # or https://opensource.org/licenses/CDDL-1.0.
31 SCRIPT_COMMON=${SCRIPT_COMMON:-${0%/*}/common.sh}
34 PROG=zfs-tests.sh
46 RUNFILES=${RUNFILES:-$DEFAULT_RUNFILES}
47 FILEDIR=${FILEDIR:-/var/tmp}
48 DISKS=${DISKS:-""}
52 ITERATIONS=1
61 TESTFAIL_CALLBACKS=${TESTFAIL_CALLBACKS:-"$ZFS_DMESG"}
66 TESTFAIL_CALLBACKS=${TESTFAIL_CALLBACKS:-"$ZFS_DBGMSG:$ZFS_DMESG:$ZFS_MMP"}
[all …]
/freebsd/usr.sbin/bsdinstall/scripts/
H A Dauto2 #-
4 # Copyright (c) 2013-2018 Devin Teske
10 # 1. Redistributions of source code must retain the above copyright
32 . $BSDCFG_SHARE/common.subr || exit 1
52 msg_auto_ufs_desc="Guided UFS Disk Setup"
53 msg_auto_ufs_help="Menu options help choose which disk to setup using UFS and standard partitions"
55 msg_auto_zfs_desc="Guided Root-on-ZFS"
62 msg_manual_desc="Manual Disk Setup (experts)"
68 msg_shell_help="Create customized partitions using command-line utilities"
83 local prompt="${1:+$1\n\n}$msg_an_installation_step_has_been_aborted"
[all …]
/freebsd/sys/fs/p9fs/
H A Dp9_client.c1 /*-
8 * 1. Redistributions of source code must retain the above copyright
49 #define P9FS_MIN_TAG 1
72 return (clnt->proto_version == p9_proto_2000L); in p9_is_proto_dotl()
79 return (clnt->proto_version == p9_proto_2000u); in p9_is_proto_dotu()
92 error = vfs_getopt(mp->mnt_optnew, "trans", (void **)&trans, &len); in p9_parse_opts()
97 clnt->proto_version = p9_proto_2000L; in p9_parse_opts()
98 clnt->msize = 8192; in p9_parse_opts()
101 clnt->ops = p9_get_trans_by_name(trans); in p9_parse_opts()
113 fc->capacity = alloc_msize; in p9_buffer_alloc()
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Dwindows2 #------------------------------------------------------------------------------
4 # windows: file(1) magic for Microsoft Windows
23 # v1.0.4/libdbx_1.0.4.tar.gz/FILE-FORMAT
25 # and partly verified by `undbx --verbosity 4 Posteingang.dbx`
27 # skip DROID fmt-838-signature-id-1193.dbx fmt-839-signature-id-1194.dbx by check for valid file si…
29 #!:mime application/octet-stream
30 #!:mime application/vnd.ms-outlook
31 !:mime application/x-ms-dbx
43 # CLSID: 6F74FDC5-E366-11d1-9A4E-00C04FA309D4~Message 6F74FDC6-E366-11D1-9A4E-00C04FA309D4~Folder
44 # 26FE9D30-1A8F-11D2-AABF-006097D474C4~offline
[all …]
/freebsd/sys/dev/virtio/console/
H A Dvirtio_console.c1 /*-
8 * 1. Redistributions of source code must retain the above copyright
93 #define VTCON_PORT_LOCK(_port) mtx_lock(&(_port)->vtcport_mtx)
94 #define VTCON_PORT_UNLOCK(_port) mtx_unlock(&(_port)->vtcport_mtx)
126 #define VTCON_LOCK(_sc) mtx_lock(&(_sc)->vtcon_mtx)
127 #define VTCON_UNLOCK(_sc) mtx_unlock(&(_sc)->vtcon_mtx)
129 mtx_assert(&(_sc)->vtcon_mtx, MA_OWNED)
131 mtx_assert(&(_sc)->vtcon_mtx, MA_NOTOWNED)
133 #define VTCON_CTRL_TX_LOCK(_sc) mtx_lock(&(_sc)->vtcon_ctrl_tx_mtx)
134 #define VTCON_CTRL_TX_UNLOCK(_sc) mtx_unlock(&(_sc)->vtcon_ctrl_tx_mtx)
[all …]
/freebsd/release/tools/
H A Dvmimage.subr10 . ${scriptdir}/../../tools/boot/install-boot.sh
15 # Platform-specific large-scale setup
30 return 1
34 if [ -c "${DESTDIR}/dev/null" ]; then
44 if [ -n "${NO_ROOT}" ]; then
45 file=$1
46 if [ -f ${DESTDIR}/${file} ]; then
48 mode=${2:-0644}
49 elif [ -d ${DESTDIR}/${file} ]; then
51 mode=${2:-0755}
[all …]
/freebsd/usr.sbin/bhyve/
H A Dbhyverun.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
10 * 1. Redistributions of source code must retain the above copyright
130 * 1. It accepts null key=value tokens ",," as setting "cpus" to an
133 * The acceptance of a null specification ('-c ""') is by design to match the
134 * manual page syntax specification, this results in a topology of 1 vCPU.
142 set_config_value("sockets", "1"); in bhyve_topology_parse()
143 set_config_value("cores", "1"); in bhyve_topology_parse()
144 set_config_value("threads", "1"); in bhyve_topology_parse()
145 set_config_value("cpus", "1"); in bhyve_topology_parse()
[all …]
/freebsd/sys/dev/virtio/scsi/
H A Dvirtio_scsi.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
10 * 1. Redistributions of source code must retain the above copyright
189 #define vtscsi_modern(_sc) (((_sc)->vtscsi_features & VIRTIO_F_VERSION_1) != 0)
199 * The current QEMU VirtIO SCSI implementation does not cancel in-flight
200 * IO during virtio_stop(). So in-flight requests still complete after the
201 * device reset. We would have to wait for all the in-flight IO to complete,
208 static int vtscsi_bus_reset_disable = 1;
238 MODULE_VERSION(virtio_scsi, 1);
239 MODULE_DEPEND(virtio_scsi, virtio, 1, 1, 1);
[all …]
/freebsd/sys/powerpc/powernv/
H A Dxive.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
9 * 1. Redistributions of source code must retain the above copyright
59 #define XIVE_PRIORITY 7 /* Random non-zero number */
60 #define MAX_XIVE_IRQS (1<<24) /* 24-bit XIRR field */
83 #define TM_QW3_NSR_HE_POOL 1
203 EARLY_DRIVER_MODULE(xive, ofwbus, xive_driver, 0, 0, BUS_PASS_INTERRUPT - 1);
210 static int xive_ipi_vector = -1;
232 * could be the same as the EOI page. Level-sensitive interrupts (LSIs) don't
244 * Additionally, the MMIO region mapped is CPU-sensitive, just like the
[all …]
/freebsd/sys/dev/acpica/
H A Dacpi_hpet.c1 /*-
2 * Copyright (c) 2005 Poul-Henning Kamp
9 * 1. Redistributions of source code must retain the above copyright
97 #define TIMER_PERIODIC 1
142 sc = tc->tc_priv; in hpet_get_timecount()
143 return (bus_read_4(sc->mem_res, HPET_MAIN_COUNTER)); in hpet_get_timecount()
151 sc = tc->tc_priv; in hpet_vdso_timehands()
152 vdso_th->th_algo = VDSO_TH_ALGO_X86_HPET; in hpet_vdso_timehands()
153 vdso_th->th_x86_shift = 0; in hpet_vdso_timehands()
154 vdso_th->th_x86_hpet_idx = device_get_unit(sc->dev); in hpet_vdso_timehands()
[all …]
/freebsd/sys/powerpc/mpc85xx/
H A Dpci_mpc85xx.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
4 * Copyright 2006-2007 by Juniper Networks.
15 * 1. Redistributions of source code must retain the above copyright
94 #define REG_PITAR(n) (0x0e00 - 0x20 * (n))
95 #define REG_PIWBAR(n) (0x0e08 - 0x20 * (n))
96 #define REG_PIWBEAR(n) (0x0e0c - 0x20 * (n))
97 #define REG_PIWAR(n) (0x0e10 - 0x20 * (n))
139 #define PCI_SLOT_FIRST 0x1 /* used to be 0x11 but qemu-ppce500 starts from 0x1 */
163 uint8_t sc_pcie_capreg; /* PCI-E Capability Reg Set */
[all …]
/freebsd/sys/dev/ixgbe/
H A Dif_ixv.c3 Copyright (c) 2001-2017, Intel Corporation
9 1. Redistributions of source code must retain the above copyright notice,
48 static const char ixv_driver_version[] = "2.0.1-k";
133 /* The MSI-X Interrupt handlers */
156 MODULE_DEPEND(ixv, iflib, 1, 1, 1);
157 MODULE_DEPEND(ixv, pci, 1, 1, 1);
158 MODULE_DEPEND(ixv, ether, 1, 1, 1);
218 .isc_rx_nsegments = 1,
220 .isc_nfl = 1,
221 .isc_ntxqs = 1,
[all …]
/freebsd/sys/dev/virtio/block/
H A Dvirtio_blk.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
10 * 1. Redistributions of source code must retain the above copyright
208 #define vtblk_modern(_sc) (((_sc)->vtblk_features & VIRTIO_F_VERSION_1) != 0)
219 static int vtblk_writecache_mode = -1;
237 #define VTBLK_MTX(_sc) &(_sc)->vtblk_mtx
253 * Each block request uses at least two segments - one for the header
281 MODULE_VERSION(virtio_blk, 1);
282 MODULE_DEPEND(virtio_blk, virtio, 1, 1, 1);
321 sc->vtblk_dev = dev; in vtblk_attach()
[all …]

12