Home
last modified time | relevance | path

Searched full:qemu (Results 1 – 25 of 146) sorted by relevance

123456

/freebsd-src/tools/tools/nanobsd/embedded/
H A DREADME4 using qemu user space emulation.
23 qemu-amd64.cfg Create a bootable amd64 image for qemu (W)
24 qemu-i386.cfg Create a bootable i386 image for qemu (W)
25 qemu-powerpc.cfg Create a bootable 32-bit powerpc image for
26 qemu
27 qemu-powerpc64.cfg Create a bootable 64-bit IBM-flavor image for
28 qemu
32 QEMU command lines for serial console access
34 i386: qemu-system-i386 -m 512 -hda _.disk.image.qemu-i386.qcow2 -nographic
35 amd64: qemu-system-amd64 -m 512 -hda _.disk.image.qemu-amd64.qcow2 -nographic
H A Dqemu-armv7.cfg32 NANO_NAME=qemu-armv7
42 # qemu-system-arm -m 512 -M virt -serial stdio -bios QEMU_EFI.fd \
43 # -drive if=none,file=_.disk.image.qemu-armv7.qcow2,id=hd0 \
46 # http://releases.linaro.org/components/kernel/uefi-linaro/15.12/release/qemu/
/freebsd-src/lib/libc/tests/sys/
H A Dsendfile_test.c380 if (atf_tc_get_config_var_as_bool_wd(tc, "qemu", false)) in ATF_TC_BODY()
381 …atf_tc_skip("Sendfile(4) unimplemented. https://github.com/qemu-bsd-user/qemu-bsd-user/issues/25"); in ATF_TC_BODY()
396 if (atf_tc_get_config_var_as_bool_wd(tc, "qemu", false)) in ATF_TC_BODY()
397 …atf_tc_skip("Sendfile(4) unimplemented. https://github.com/qemu-bsd-user/qemu-bsd-user/issues/25"); in ATF_TC_BODY()
464 if (atf_tc_get_config_var_as_bool_wd(tc, "qemu", false)) in ATF_TC_BODY()
465 …atf_tc_skip("Sendfile(4) unimplemented. https://github.com/qemu-bsd-user/qemu-bsd-user/issues/25"); in ATF_TC_BODY()
479 if (atf_tc_get_config_var_as_bool_wd(tc, "qemu", false)) in ATF_TC_BODY()
480 …atf_tc_skip("Sendfile(4) unimplemented. https://github.com/qemu-bsd-user/qemu-bsd-user/issues/25"); in ATF_TC_BODY()
512 if (atf_tc_get_config_var_as_bool_wd(tc, "qemu", false)) in ATF_TC_BODY()
513 …atf_tc_skip("Sendfile(4) unimplemented. https://github.com/qemu-bsd-user/qemu-bsd-user/issues/25"); in ATF_TC_BODY()
[all …]
/freebsd-src/usr.sbin/binmiscctl/
H A Dbinmiscctl.8204 Add QEMU bsd-user program as an image activator for ARM AARCH64 binaries:
207 --interpreter "/usr/local/bin/qemu-aarch64-static" \e
215 Add QEMU bsd-user program as an image activator for ARM little-endian binaries:
218 --interpreter "/usr/local/bin/qemu-arm-static" \e
226 Add QEMU bsd-user program as an image activator for ARM big-endian binaries:
229 --interpreter "/usr/local/bin/qemu-arm-static" \e
237 Add QEMU bsd-user program as an image activator for MIPS32 binaries:
240 --interpreter "/usr/local/bin/qemu-mips-static" \e
248 Add QEMU bsd-user program as an image activator for MIPS64 binaries:
251 --interpreter "/usr/local/bin/qemu
[all...]
/freebsd-src/tools/boot/
H A Dci-qemu-test.sh4 # in QEMU and echo "Hello world." from init, as a very quick smoke test for CI.
5 # Uses QEMU's virtual FAT filesystem to avoid the need to create a disk image.
82 # Locate the uefi firmware file used by qemu.
83 : ${OVMF:=/usr/local/share/qemu/edk2-x86_64-code.fd}
87 QEMU="qemu-system-x86_64 -drive if=pflash,format=raw,readonly=on,file=${OVMF}"
92 QEMU="qemu-system-aarch64 -cpu cortex-a57 -M virt -bios edk2-aarch64-code.fd"
101 WORKDIR=$(mktemp -d -t ci-qemu-test-fat-root)
108 # Using QEMU's virtual FAT support is much faster than creating a disk image,
114 echo "Root size ${rootsize}K too large for QEMU virtual FAT" >&2
120 # And, boot in QEMU.
[all …]
H A Dfull-test.readme8 (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.
26 all the images and scripts to run qemu. There should be no errors, though
32 'sh'. And extra args are passed to qemu, so '-s -S' for gdb and
H A Dfull-test.sh16 # use qemu-system-XXXX to boot. They all boot the same thing at the moment:
33 # hack -- I have extra junk in my qemu, but it's not needed to recreate things
35 qemu_bin=/home/imp/git/qemu/00-build
294 # The raw variant, currently used only on arm64. It boots with the raw interface of qemu
296 # since qemu doesn't currently provide that...
325 if [ ${bios_code} -ot /usr/local/share/qemu/edk2-x86_64-code.fd ]; then
326 cp /usr/local/share/qemu/edk2-x86_64-code.fd ${bios_code}
328 cp /usr/local/share/qemu/edk2-i386-vars.fd ${bios_vars}
332 if [ ${bios_code} -ot /usr/local/share/qemu/edk2-aarch64-code.fd ]; then
336 dd if=/usr/local/share/qemu/edk2-aarch64-code.fd of=${bios_code} conv=notrunc
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/firmware/
H A Dqemu,fw-cfg-mmio.yaml4 $id: http://devicetree.org/schemas/firmware/qemu,fw-cfg-mmio.yaml#
7 title: QEMU Firmware Configuration
13 Various QEMU emulation / virtualization targets provide the following
19 QEMU exposes the control and data register to guests as memory mapped
21 DTB that QEMU places at the bottom of the guest's DRAM.
24 device can be found in "docs/specs/fw_cfg.txt" in the QEMU source tree.
29 const: qemu,fw-cfg-mmio
51 compatible = "qemu,fw-cfg-mmio";
/freebsd-src/tests/sys/kern/
H A Dsendfile_test.sh53 if [ "$(atf_config_get qemu false)" = "true" ]; then
54 atf_skip "Sendfile(4) unimplemented. https://github.com/qemu-bsd-user/qemu-bsd-user/issues/25"
76 if [ "$(atf_config_get qemu false)" = "true" ]; then
77 atf_skip "Sendfile(4) unimplemented. https://github.com/qemu-bsd-user/qemu-bsd-user/issues/25"
100 if [ "$(atf_config_get qemu false)" = "true" ]; then
101 atf_skip "Sendfile(4) unimplemented. https://github.com/qemu-bsd-user/qemu-bsd-user/issues/25"
124 if [ "$(atf_config_get qemu false)" = "true" ]; then
125 atf_skip "Sendfile(4) unimplemented. https://github.com/qemu-bsd-user/qemu-bsd-user/issues/25"
/freebsd-src/sys/contrib/device-tree/Bindings/arm/
H A Dfw-cfg.txt1 * QEMU Firmware Configuration bindings for ARM
3 QEMU's arm-softmmu and aarch64-softmmu emulation / virtualization targets
10 QEMU exposes the control and data register to ARM guests as memory mapped
12 DTB that QEMU places at the bottom of the guest's DRAM.
15 device can be found in "docs/specs/fw_cfg.txt" in the QEMU source tree.
20 - compatible: "qemu,fw-cfg-mmio".
35 compatible = "qemu,fw-cfg-mmio";
/freebsd-src/usr.sbin/bhyve/
H A Dqemu_loader.h27 * @param loader Qemu loader instance the command should be added to.
40 * @param loader Qemu loader instance the command should be added to.
52 * @param loader Qemu loader instance the command should be added to.
64 * Creates a qemu loader instance.
66 * @param new_loader Returns the newly created qemu loader instance.
67 * @param fwcfg_name Name of the FwCfg item which represents the qemu loader
72 * Signals that all commands are written to the qemu loader. This function
75 * @param loader Qemu loader instance which should be finished.
H A Dqemu_fwcfg.c40 IOPORT_F_INOUT /* QEMU v2.4+ ignores writes */
152 warnx("%s: Writes to qemu fwcfg data port aren't allowed", in qemu_fwcfg_data_port_handler()
163 "%s: qemu fwcfg item doesn't exist (architecture %s index 0x%x)", in qemu_fwcfg_data_port_handler()
171 "%s: qemu fwcfg item read exceeds size (architecture %s index 0x%x size 0x%x offset 0x%x)", in qemu_fwcfg_data_port_handler()
200 warnx("%s: qemu fwcfg item exists (architecture %s index 0x%x)", in qemu_fwcfg_add_item()
325 * QEMU specifies count as big endian. in qemu_fwcfg_add_file()
356 "%s: Unable to allocate a new qemu fwcfg files directory (count %d)", in qemu_fwcfg_add_file()
390 * QEMU specifies count, size and index as big endian. in qemu_fwcfg_add_file()
440 fwcfg_enabled = strcmp(lpc_fwcfg(), "qemu") == 0; in qemu_fwcfg_init()
446 * Bhyve supports fwctl (bhyve) and fwcfg (qemu) as firmware interfaces. in qemu_fwcfg_init()
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/misc/
H A Dpvpanic-mmio.txt1 * QEMU PVPANIC MMIO Configuration bindings
3 QEMU's emulation / virtualization targets provide the following PVPANIC
9 QEMU exposes the data register to guests as memory mapped registers.
13 - compatible: "qemu,pvpanic-mmio".
25 compatible = "qemu,pvpanic-mmio";
H A Dqemu,vcpu-stall-detector.yaml4 $id: http://devicetree.org/schemas/misc/qemu,vcpu-stall-detector.yaml#
19 - qemu,vcpu-stall-detector
52 compatible = "qemu,vcpu-stall-detector";
/freebsd-src/contrib/llvm-project/lldb/source/Plugins/Platform/QemuUser/
H A DPlatformQemuUser.cpp78 return "Platform for debugging binaries under user mode qemu"; in GetPluginDescriptionStatic()
96 "Properties for the qemu-user platform plugin.", in DebuggerInitialize()
165 // If platform.plugin.qemu-user.emulator-path is set, use it. in DebugProcess()
166 FileSpec qemu = GetGlobalProperties().GetEmulatorPath(); in DebugProcess() local
167 // If platform.plugin.qemu-user.emulator-path is not set, build the in DebugProcess()
168 // executable name from platform.plugin.qemu-user.architecture. in DebugProcess()
169 if (!qemu) { in DebugProcess()
171 // If platform.plugin.qemu-user.architecture is not set, build the in DebugProcess()
175 qemu.SetPath(("qemu-" + arch).str()); in DebugProcess()
177 FileSystem::Instance().ResolveExecutableLocation(qemu); in DebugProcess()
[all …]
/freebsd-src/tests/ci/
H A DMakefile17 # USE_QEMU: Use QEMU for testing rather than bhyve
92 QEMUSTATIC=/usr/local/bin/qemu-${QEMU_ARCH}-static
93 QEMUTGT=portinstall-qemu
100 QEMUBIN=/usr/local/bin/qemu-system-${QEMU_ARCH}
123 portinstall: portinstall-pkg portinstall-qemu portinstall-expect portinstall-${TARGET_ARCH:tl} .PHO…
130 portinstall-qemu: portinstall-pkg .PHONY
131 .if !exists(/usr/local/bin/qemu-${TARGET_ARCH}-static)
132 env ASSUME_ALWAYS_YES=yes pkg install emulators/qemu-user-static
134 .if !exists(/usr/local/bin/qemu-system-${QEMU_ARCH})
135 env ASSUME_ALWAYS_YES=yes pkg install emulators/qemu@nox11
H A DMakefile.armv712 QEMU_EXTRA_PARAM=-bios /usr/local/share/u-boot/u-boot-qemu-arm/u-boot.bin
17 .if !exists(/usr/local/share/u-boot/u-boot-qemu-arm/u-boot.bin)
18 env ASSUME_ALWAYS_YES=yes pkg install sysutils/u-boot-qemu-arm
H A DMakefile.aarch6412 QEMU_EXTRA_PARAM=-bios /usr/local/share/u-boot/u-boot-qemu-arm64/u-boot.bin -cpu cortex-a57
17 .if !exists(/usr/local/share/u-boot/u-boot-qemu-arm64/u-boot.bin)
18 env ASSUME_ALWAYS_YES=yes pkg install sysutils/u-boot-qemu-arm64
H A DMakefile.riscv6412 …bi/lp64/generic/firmware/fw_jump.elf -kernel /usr/local/share/u-boot/u-boot-qemu-riscv64/u-boot.bin
20 .if !exists(/usr/local/share/u-boot/u-boot-qemu-riscv64/u-boot.bin)
21 env ASSUME_ALWAYS_YES=yes pkg install sysutils/u-boot-qemu-riscv64
/freebsd-src/share/man/man4/
H A Dvale.495 each connected to two qemu machines on different ports.
97 qemu -net nic -net netmap,ifname=vale1:a ... &
98 qemu -net nic -net netmap,ifname=vale1:b ... &
99 qemu -net nic -net netmap,ifname=vale2:c ... &
100 qemu -net nic -net netmap,ifname=vale2:d ... &
/freebsd-src/sys/contrib/zstd/
H A DMakefile233 …CC=arm-linux-gnueabi-gcc QEMU_SYS=qemu-arm-static MOREFLAGS="-static" FUZZER_FLAGS=--no-big-tests …
237 …CC=aarch64-linux-gnu-gcc QEMU_SYS=qemu-aarch64-static MOREFLAGS="-static" FUZZER_FLAGS=--no-big-te…
240 …CC=powerpc-linux-gnu-gcc QEMU_SYS=qemu-ppc-static MOREFLAGS="-static" FUZZER_FLAGS=--no-big-tests …
243 …CC=powerpc-linux-gnu-gcc QEMU_SYS=qemu-ppc64-static MOREFLAGS="-m64 -static" FUZZER_FLAGS=--no-big…
260 …$(MAKE) -C $(TESTDIR) test CC=arm-linux-gnueabi-gcc QEMU_SYS=qemu-arm-static ZSTDRTTEST= MOREFLAGS…
264 …$(MAKE) -C $(TESTDIR) test CC=aarch64-linux-gnu-gcc QEMU_SYS=qemu-aarch64-static ZSTDRTTEST= MOREF…
268 …$(MAKE) -C $(TESTDIR) test CC=powerpc-linux-gnu-gcc QEMU_SYS=qemu-ppc-static ZSTDRTTEST= MOREFLAGS…
272 …$(MAKE) -C $(TESTDIR) test CC=powerpc-linux-gnu-gcc QEMU_SYS=qemu-ppc64-static ZSTDRTTEST= MOREFLA…
276 …$(MAKE) -C $(PRGDIR) clean zstd CC=arm-linux-gnueabi-gcc QEMU_SYS=qemu-arm-static ZSTDRTTEST= MORE…
277 …$(MAKE) -C $(PRGDIR) clean zstd CC=aarch64-linux-gnu-gcc QEMU_SYS=qemu-aarch64-static ZSTDRTTEST= …
[all …]
/freebsd-src/sys/arm/qemu/
H A Dfiles.qemu3 # Standard qemu virt devices and support.
5 arm/qemu/virt_machdep.c standard
6 arm/qemu/virt_mp.c optional smp
/freebsd-src/usr.bin/mkimg/tests/
H A DMakefile17 # emulated platforms such as QEMU. It can take about 2-5 seconds to generate
20 # The effect is even more pronounced on CHERI-RISCV QEMU (emulating CHERI inside
21 # QEMU adds additional run-time overhead): Running the apm_1x1_512_raw without
23 # were spent running jot -b. It's even worse on CHERI-MIPS QEMU: 187 seconds
/freebsd-src/sys/powerpc/powernv/
H A Dopalcall.S74 #if defined(__LITTLE_ENDIAN__) && defined(QEMU)
75 /* QEMU hack: qemu does not emulate mtmsrd correctly! */
80 #if defined(__LITTLE_ENDIAN__) && defined(QEMU)
81 /* Clean up from qemu hack */
/freebsd-src/contrib/file/magic/Magdir/
H A Dvirtual88 # Creator[256] like "QEMU v3.0.0", "Microsoft Windows 6.3.9600.18512"
181 # value "virtual size" can be verified by command `qemu-img info `
197 0 string LibvirtQemudSave Libvirt QEMU Suspend Image
203 0 string LibvirtQemudPart Libvirt QEMU partial Suspend Image
217 # Qemu Emulator Images
222 0 string/b QFI\xFB QEMU QCOW Image
223 !:mime application/x-qemu-disk
286 0 string/b QEVM QEMU suspend to disk image
288 # QEMU QED Image
289 # https://wiki.qemu
[all...]

123456