/openbmc/qemu/python/ |
H A D | README.rst | 1 QEMU Python Tooling 4 This directory houses Python tooling used by the QEMU project to build, 5 configure, and test QEMU. It is organized by namespace (``qemu``), and 6 then by package (e.g. ``qemu/machine``, ``qemu/qmp``, etc). 8 ``setup.py`` is used by ``pip`` to install this tooling to the current 12 1. ``pip3 install .`` will install these packages to your current 14 install there. If you are not, it will attempt to install to the 17 2. ``pip3 install --user .`` will install these packages to your user's 21 If you append the ``--editable`` or ``-e`` argument to either invocation 22 above, pip will install in "editable" mode. This installs the package as [all …]
|
H A D | Makefile | 1 QEMU_VENV_DIR=.dev-venv 2 QEMU_MINVENV_DIR=.min-venv 9 @echo "make check-minreqs:" 13 @echo " Hint (Fedora): 'sudo dnf install python3.8'" 15 @echo "make check-tox:" 18 @echo " Requires: Python 3.8 - 3.11, and tox." 19 @echo " Hint (Fedora): 'sudo dnf install python3-tox python3.11'" 23 @echo "make check-dev:" 33 @echo " Install deps needed for 'make check'," 34 @echo " and install the qemu package in editable mode." [all …]
|
H A D | PACKAGE.rst | 1 QEMU Python Tooling 4 This package provides QEMU tooling used by the QEMU project to build, 5 configure, and test QEMU. It is not a fully-fledged SDK and it is subject 9 ----- 11 The ``qemu.qmp`` subpackage provides a library for communicating with 12 QMP servers. The ``qemu.machine`` subpackage offers rudimentary 13 facilities for launching and managing QEMU processes. Refer to each 15 (``>>> help(qemu.qmp)``, ``>>> help(qemu.machine)``) 19 ------------ 22 the QEMU source tree. Contributions are welcome and follow the `QEMU [all …]
|
H A D | setup.py | 3 QEMU tooling installer script 4 Copyright (c) 2020-2021 John Snow for Red Hat, Inc. 17 This prevents calling 'setup.py install' directly, as the 'install' 18 CLI option will invoke the deprecated bdist_egg hook. "pip install" 24 'Please use `pip install .` instead.' 30 QEMU tooling installer 33 # https://medium.com/@daveshawley/safely-using-setup-cfg-for-metadata-1babbe54c108
|
/openbmc/qemu/ |
H A D | .patchew.yml | 1 --- 81 Patchew URL: https://patchew.org/QEMU/{{ obj.message_id }}/ 91 {% elif test == "docker-mingw@fedora" or test == "docker-quick@centos8" or test == "asan" %} 115 --- 117 Please send your feedback to patchew-devel@redhat.com 126 time make docker-test-debug@fedora TARGET_LIST=x86_64-softmmu J=14 NETWORK=1 127 docker-quick@centos8: 133 time make docker-test-quick@centos8 SHOW_ENV=1 J=14 NETWORK=1 140 git rev-parse base > /dev/null || exit 0 141 ./scripts/checkpatch.pl --mailback base.. [all …]
|
H A D | qemu.nsi | 3 ; This NSIS script creates an installer for QEMU on Windows. 5 ; Copyright (C) 2006-2012 Stefan Weil 20 ; SPDX-License-Identifier: GPL-2.0-or-later 24 !define PRODUCT "QEMU" 25 !define URL "https://www.qemu.org/" 27 !define UNINST_EXE "$INSTDIR\qemu-uninstall.exe" 37 !define OUTFILE "qemu-setup.exe" 49 Name "QEMU" 56 InstallDir $PROGRAMFILES64\qemu 58 InstallDir $PROGRAMFILES\qemu [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/qemu/ |
H A D | qemu-system-native_9.2.0.bb | 1 BPN = "qemu" 3 require qemu-native.inc 5 # As some of the files installed by qemu-native and qemu-system-native 6 # are the same, we depend on qemu-native to get the full installation set 8 DEPENDS += "glib-2.0-native zlib-native pixman-native qemu-native" 10 EXTRA_OECONF:append = " --target-list=${@get_qemu_system_target_list(d)}" 16 # Handle distros such as CentOS 5 32-bit that do not have kvm support 20 install -Dm 0755 ${UNPACKDIR}/powerpc_rom.bin ${D}${datadir}/qemu 22 # The following is also installed by qemu-native 23 rm -f ${D}${datadir}/qemu/trace-events-all [all …]
|
H A D | qemu.inc | 2 DESCRIPTION = "QEMU is a hosted virtual machine monitor: it emulates the \ 6 HOMEPAGE = "http://qemu.org" 7 LICENSE = "GPL-2.0-only & LGPL-2.1-only" 9 DEPENDS += "bison-native meson-native ninja-native" 11 RDEPENDS:${PN}-ptest = "bash" 13 require qemu-targets.inc 14 # https://gitlab.com/qemu-project/qemu/-/commit/81e2b198a8cb4ee5fdf108bd438f44b193ee3a36 means 15 # we need a full python3-native setup 16 inherit pkgconfig ptest update-rc.d systemd python3native 21 SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \ [all …]
|
H A D | qemu-helper-native_1.0.bb | 2 LICENSE = "GPL-2.0-only" 3 RDEPENDS:${PN} = "qemu-system-native" 5 LIC_FILES_CHKSUM = "file://${S}/qemu-oe-bridge-helper.c;endline=4;md5=ae00a3bab86f2caaa8462eacda77f… 7 SRC_URI = "file://qemu-oe-bridge-helper.c" 15 ${CC} ${CFLAGS} ${LDFLAGS} -Wall qemu-oe-bridge-helper.c -o qemu-oe-bridge-helper 19 install -d ${D}${bindir} 20 install qemu-oe-bridge-helper ${D}${bindir}/ 23 DEPENDS += "qemu-system-native unfs3-native pseudo-native"
|
/openbmc/docs/development/ |
H A D | dev-environment.md | 16 [QEMU](https://www.qemu.org/). 19 distribution for a system. QEMU is a software emulator that can be used to run 23 development environment, building OpenBMC, and running that image in QEMU. 28 ## Install Linux Environment 38 1. Install a Virtual Machine 40 Install either [VirtualBox](https://www.virtualbox.org/wiki/Downloads) or 41 [VMware](https://www.vmware.com/products/workstation-player/workstation-player-evaluation.html) 51 [build-setup.sh](https://github.com/openbmc/openbmc-build-scripts/blob/master/build-setup.sh) 56 2. Install the latest Ubuntu LTS release 58 The majority of OpenBMC development community uses Ubuntu. The qemu below is [all …]
|
/openbmc/qemu/tests/docker/dockerfiles/ |
H A D | debian-bootstrap.pre | 17 if [ -z $FAKEROOT ]; then 18 echo "Please install fakeroot to enable bootstraping" >&2 23 if [ -z "${DEB_ARCH}" ]; then 29 if [ -z "${DEB_TYPE}" ]; then 36 if [ -z "${DEB_VARIANT}" ]; then 40 if [ -z "${DEB_URL}" ]; then 46 # - DEBOOTSTRAP_DIR pointing at a development checkout 47 # - PATH for the debootstrap script (installed) 53 if [ -z $DEBOOTSTRAP_DIR ]; then 56 if [ -z $DEBOOTSTRAP ]; then [all …]
|
H A D | debian-hexagon-cross.docker | 2 # Docker Hexagon cross-compiler target 5 # needs to be able to build QEMU itself in CI we include its 6 # build-deps. 8 FROM docker.io/library/debian:11-slim 10 # Duplicate deb line as deb-src 11 RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list 12 RUN apt-get update && \ 13 DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata && \ 15 # Install common build utilities 16 apt-get install -y --no-install-recommends \ [all …]
|
H A D | debian-legacy-test-cross.docker | 1 # Docker legacy cross-compiler target (tests and minimal qemu) 6 # libc6.1-dev-alpha-cross: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054412 7 # sh4-linux-user: binaries don't run with bookworm compiler 9 # As we are targeting check-tcg here we only need minimal qemu 12 FROM docker.io/library/debian:11-slim 14 # Duplicate deb line as deb-src 15 RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> /etc/apt/sources.list 18 apt-get update && \ 19 apt-get install -y eatmydata && \ 20 eatmydata apt-get dist-upgrade -y && \ [all …]
|
/openbmc/qemu/plugins/ |
H A D | loader.c | 2 * QEMU Plugin Core Loader Code 13 * See the COPYING file in the top-level directory. 15 * SPDX-License-Identifier: GPL-2.0-or-later 18 #include "qemu/osdep.h" 19 #include "qemu/error-report.h" 20 #include "qemu/config-file.h" 21 #include "qemu/help_option.h" 23 #include "qemu/lockable.h" 24 #include "qemu/option.h" 25 #include "qemu/rcu_queue.h" [all …]
|
/openbmc/linux/Documentation/bpf/ |
H A D | s390.rst | 10 document describes how to test BPF in an s390 QEMU guest. 12 2. One-time setup 20 * QEMU with s390 support 27 --variant=minbase \ 28 --include=sudo \ 30 ./s390-toolchain 31 sudo mount --rbind /dev ./s390-toolchain/dev 32 sudo mount --rbind /proc ./s390-toolchain/proc 33 sudo mount --rbind /sys ./s390-toolchain/sys 34 sudo chroot ./s390-toolchain [all …]
|
/openbmc/qemu/tests/lcitool/ |
H A D | refresh | 3 # Re-generate container recipes 7 # https://gitlab.com/libvirt/libvirt-ci 13 # the top-level directory. 28 lcitool_path = Path(self_dir, "libvirt-ci", "bin", "lcitool") 30 lcitool_cmd = [lcitool_path, "--data-dir", self_dir] 63 " id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi\n" 66 def generate_dockerfile(host, target, project="qemu", cross=None, trailer=None): 70 cmd.extend(["--cross", cross]) 82 filename = Path(src_dir, ".gitlab-ci.d", "cirrus", target + ".vars") 83 cmd = lcitool_cmd + ["variables", "--format", "shell", target, "qemu"] [all …]
|
/openbmc/openbmc/poky/meta/recipes-connectivity/ssh-pregen-hostkeys/ |
H A D | ssh-pregen-hostkeys_1.0.bb | 1 SUMMARY = "Pre generated host keys mainly for speeding up our qemu tests" 14 COMPATIBLE_MACHINE = "^qemu.*$" 17 install -d ${D}${sysconfdir}/dropbear 18 install ${UNPACKDIR}/dropbear_rsa_host_key -m 0600 ${D}${sysconfdir}/dropbear/ 20 install -d ${D}${sysconfdir}/ssh 21 install ${UNPACKDIR}/openssh/* ${D}${sysconfdir}/ssh/
|
/openbmc/u-boot/ |
H A D | .travis.yml | 1 # SPDX-License-Identifier: GPL-2.0+ 4 # build U-Boot on Travis CI - https://travis-ci.org/ 14 - ubuntu-toolchain-r-test 15 - llvm-toolchain-trusty-7 17 - cppcheck 18 - sloccount 19 - sparse 20 - bc 21 - build-essential 22 - libsdl1.2-dev [all …]
|
/openbmc/openbmc/poky/documentation/sdk-manual/ |
H A D | intro.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 17 - *Cross-Development Toolchain*: This toolchain contains a compiler, 20 - *Libraries, Headers, and Symbols*: The libraries, headers, and 24 - *Environment Setup Script*: This ``*.sh`` file, once sourced, sets up the 25 cross-development environment by defining variables and preparing for 35 self-contained. The binaries are linked against their own copy of 37 achieve this, the pointer to the dynamic loader is configured at install 42 Another feature of the SDKs is that only one set of cross-compiler 50 sysroot because those binaries are target-specific. 54 - The self-contained SDK, which is an architecture-specific [all …]
|
/openbmc/openbmc/poky/meta/recipes-extended/baremetal-example/ |
H A D | baremetal-helloworld_git.bb | 1 SUMMARY = "Baremetal examples to work with the several QEMU architectures supported on OpenEmbedded" 2 HOMEPAGE = "https://github.com/aehs29/baremetal-helloqemu" 3 DESCRIPTION = "These are introductory examples to showcase the use of QEMU to run baremetal applica… 10 SRC_URI = "git://github.com/ahcbb6/baremetal-helloqemu.git;protocol=https;branch=master" 17 IMAGE_LINK_NAME ?= "baremetal-helloworld-image-${MACHINE}" 20 # Baremetal-Image creates the proper wiring, assumes the output is provided in 24 inherit baremetal-image 28 DEPENDS:qemux86:append = " nasm-native" 32 # machine that QEMU uses on OE, e.g. -machine virt -cpu cortex-a57 34 # such as vexpress-a15 by overriding the setting on the machine.conf [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/musl/musl/ |
H A D | 0001-Make-dynamic-linker-a-relative-symlink-to-libc.patch | 7 environment, especially when executing qemu in usermode to run target 9 can be computed during cross builds, qemu in usermode often comes to aid 13 Make use of 'ln -r' to create relative symlinks, as most fo the distros 16 Upstream-Status: Pending 17 Signed-off-by: Khem Raj <raj.khem@gmail.com> 18 Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> 19 --- 20 Makefile | 2 +- 21 tools/install.sh | 8 +++++--- 22 2 files changed, 6 insertions(+), 4 deletions(-) [all …]
|
/openbmc/qemu/docs/ |
H A D | meson.build | 1 sphinx_build = find_program(fs.parent(python.full_path()) / 'sphinx-build', 7 SPHINX_ARGS = ['env', 'CONFDIR=' + qemu_confdir, sphinx_build, '-q'] 10 SPHINX_ARGS += [ '-W', '-Dkerneldoc_werror=1' ] 13 sphinx_version = run_command(SPHINX_ARGS + ['--version'], 16 SPHINX_ARGS += ['-j', 'auto'] 21 SPHINX_ARGS += ['-j', jobs] 27 # version requirement). This will fail if sphinx-build is too old. 28 run_command('mkdir', ['-p', tmpdir / 'sphinx'], check: true) 31 '-c', meson.current_source_dir(), 32 '-b', 'html', tmpdir / 'sphinx', [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/espeak/ |
H A D | espeak_1.48.04.bb | 3 LICENSE = "GPL-3.0-only" 6 SRC_URI = "http://downloads.sourceforge.net/espeak/espeak-1.48.04-source.zip \ 7 file://0001-Fix-build-of-shared-library-on-architectures-needing.patch \ 8 file://0002-tr_languages-cast-string_ordinal-init-values.patch \ 9 file://0001-Drop-using-register-keyword-for-storage-classifier.patch \ 13 S = "${WORKDIR}/espeak-${PV}-source" 15 DEPENDS = "portaudio-v19 qemu-helper-native" 16 inherit siteinfo qemu 19 CXXFLAGS += "-DUSE_PORTAUDIO" 22 FILES:${PN} += "${datadir}/espeak-data" [all …]
|
/openbmc/qemu/docs/system/devices/ |
H A D | canokey.rst | 3 CanoKey QEMU 4 ------------ 6 CanoKey [1]_ is an open-source secure key with supports of 8 * U2F / FIDO2 with Ed25519 and HMAC-secret 10 * PIV (NIST SP 800-73-4) 14 All these platform-independent features are in canokey-core [3]_. 21 * (virt-card) CanoKey USB/IP 22 * (virt-card) CanoKey FunctionFS 24 In QEMU, yet another CanoKey virt-card is implemented. 25 CanoKey QEMU exposes itself as a USB device to the guest OS. [all …]
|
/openbmc/qemu/tests/vm/ |
H A D | netbsd | 5 # Copyright 2017-2019 Red Hat Inc. 12 # the COPYING file in the top-level directory. 25 link = "https://cdn.netbsd.org/pub/NetBSD/NetBSD-9.3/images/NetBSD-9.3-amd64.iso" 30 "git-base", 34 "ninja-build", 40 "gettext-tools", 66 set -e; 67 rm -rf /home/qemu/qemu-test.* 68 cd $(mktemp -d /home/qemu/qemu-test.XXXXXX); 70 tar -xf /dev/rld1a; [all …]
|