Home
last modified time | relevance | path

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

12345678910>>...19

/openbmc/qemu/python/
H A DREADME.rst1 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
9 environment. ``setup.cfg`` provides the packaging configuration used by
10 ``setup.py``. You will generally invoke it by doing one of the following:
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
23 a forwarder ("qemu.egg-link") that points to the source tree. In so
[all …]
H A Dsetup.py3 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'
23 'Installation directly via setup.py is not supported.\n'
30 QEMU tooling installer
33 # https://medium.com/@daveshawley/safely-using-setup-cfg-for-metadata-1babbe54c108
36 setuptools.setup(cmdclass={'bdist_egg': bdist_egg_guard})
H A DMakefile1 QEMU_VENV_DIR=.dev-venv
2 QEMU_MINVENV_DIR=.min-venv
9 @echo "make check-minreqs:"
15 @echo "make check-tox:"
18 @echo " Requires: Python 3.9 - 3.11, and tox."
19 @echo " Hint (Fedora): 'sudo dnf install python3-tox python3.11'"
23 @echo "make check-dev:"
30 @echo " Performs no environment setup of any kind."
34 @echo " and install the qemu package in editable mode."
37 @echo "make min-venv"
[all …]
/openbmc/openbmc-build-scripts/jenkins/
H A DREADME.md7 | --------------------------------- | ------------------------------- | ---------- |
8 | CI-MISC/ci-build-seed | jenkins/build-seed | |
9 | CI-MISC/ci-meta | jenkins/run-meta-ci | Deprecated |
10 | CI-MISC/ci-openbmc-build-scripts | jenkins/run-build-script-ci | |
11 | CI-MISC/ci-repository-ppc64le | run-unit-test-docker.sh | |
12 | CI-MISC/openbmc-node-cleaner | sstate-cache-management.sh | [1] |
13 | CI-MISC/openbmc-userid-validation | jenkins/userid-validation | |
14 | CI-MISC/run-ci-in-qemu | run-qemu-robot-test.sh | |
15 | ci-openbmc | build-setup.sh | |
16 | ci-repository | run-unit-test-docker.sh | |
[all …]
/openbmc/docs/development/
H A DREADME.md7 1. [Development Environment Setup](dev-environment.md)
9 Start here. This shows how to setup an OpenBMC development environment using
10 its bitbake build process and how to start the software emulator, QEMU.
12 2. [Hello World](devtool-hello-world.md)
15 repository, build, and test your changes within QEMU.
17 3. [Web UI Development](web-ui.md)
19 This shows how to modify the phosphor-webui web application and test your
20 changes within QEMU.
22 4. [Code Reviews Using Gerrit](gerrit-setup.md)
24 This shows how to setup your environment to utilize Gerrit for submitting
H A Ddev-environment.md16 [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.
41 [VMware](https://www.vmware.com/products/workstation-player/workstation-player-evaluation.html)
51 [build-setup.sh](https://github.com/openbmc/openbmc-buil
[all...]
/openbmc/qemu/.gitlab-ci.d/
H A Dcrossbuild-template.yml4 image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:$QEMU_CI_CONTAINER_TAG
7 - ccache
12 - source scripts/ci/gitlab-ci-section
13 - section_start setup "Pre-script setup"
14 - JOBS=$(expr $(nproc) + 1)
15 - cat /packages.txt
16 - section_end setup
18 - export CCACHE_BASEDIR="$(pwd)"
19 - export CCACHE_DIR="$CCACHE_BASEDIR/ccache"
20 - export CCACHE_MAXSIZE="500M"
[all …]
H A Dbuildtest-template.yml4 image: $CI_REGISTRY_IMAGE/qemu/$IMAGE:$QEMU_CI_CONTAINER_TAG
7 - ccache
11 - source scripts/ci/gitlab-ci-section
12 - section_start setup "Pre-script setup"
13 - JOBS=$(expr $(nproc) + 1)
14 - cat /packages.txt
15 - section_end setup
17 - export CCACHE_BASEDIR="$(pwd)"
18 - export CCACHE_DIR="$CCACHE_BASEDIR/ccache"
19 - export CCACHE_MAXSIZE="500M"
[all …]
H A Dstatic_checks.yml1 check-patch:
4 image: python:3.10-alpine
7 - .gitlab-ci.d/check-patch.py
12 - apk -U add git perl
15 check-dco:
18 image: python:3.10-alpine
20 script: .gitlab-ci.d/check-dco.py
24 - apk -U add git
26 check-python-minreqs:
29 image: $CI_REGISTRY_IMAGE/qemu/python:$QEMU_CI_CONTAINER_TAG
[all …]
/openbmc/bmcweb/docs/
H A DTESTING.md11 are the steps for using the SDK and QEMU.
13 - Follow all
14 …[development environment setup](https://github.com/openbmc/docs/blob/master/development/dev-enviro…
15 directions in the development environment setup document. This will get QEMU
17 - Follow all of the
18 [gerrit setup](https://github.com/openbmc/docs/blob/master/development/gerrit-setup.md)
19 directions in the gerrit setup document.
20 - Clone bmcweb from gerrit
26 - Follow directions in
29 - Reduce binary size by stripping it when ready for testing
[all …]
/openbmc/qemu/docs/devel/testing/
H A Dci-runners.rst.inc11 be set up with GitLab's "agent", called gitlab-runner, which will take
14 gitlab-runner, is called a "custom runner".
18 .gitlab-ci.d/custom-runners.yml
21 currently deployed in the QEMU GitLab CI and their maintainers, please
22 refer to the QEMU `wiki <https://wiki.qemu.org/AdminContacts>`__.
24 Machine Setup Howto
25 -------------------
27 For all Linux based systems, the setup can be mostly automated by the
29 under ``scripts/ci/setup``, such as this::
44 The ``scripts/ci/setup/$DISTRO/build-environment.yml`` Ansible
[all …]
/openbmc/docs/
H A Dcheatsheet.md11 meta-phosphor/common/recipes-kernel/linux/linux-obmc_X.Y.bb
30 . setup palmetto
31 bitbake obmc-phosphor-image
40 . setup zaius
41 bitbake obmc-phosphor-image
49 meta-<layer>/meta-<system>/conf/machine/machineA.conf
50 meta-<layer>/meta-<system>/conf/machine/machineB.conf
54 to the `setup`.
58 . setup machineB
59 bitbake obmc-phosphor-image
[all …]
/openbmc/u-boot/board/imgtec/malta/
H A Dlowlevel_init.S1 /* SPDX-License-Identifier: GPL-2.0 */
56 * 'MIPS: qemu-malta: add YAMON-style GT64120 memory map'
58 * http://www.mail-archive.com/barebox@lists.infradead.org/msg06128.html
60 * based on write_bootloader() in qemu.git/hw/mips_malta.c
61 * see GT64120 manual and qemu.git/hw/gt64xxx.c for details
69 /* setup MEM-to-PCI0 mapping */
72 /* setup PCI0 io window to 0x18000000-0x181fffff */
78 /* setup PCI0 mem windows */
96 /* setup peripheral bus controller clock divide */
118 /* setup basic address decode */
[all …]
/openbmc/qemu/docs/tools/
H A Dqemu-pr-helper.rst2 QEMU persistent reservation helper
6 --------
8 **qemu-pr-helper** [*OPTION*]
11 -----------
13 Implements the persistent reservation helper for QEMU.
16 to specific initiators in a shared storage setup. When implementing
21 storage fabric. QEMU's SCSI passthrough devices ``scsi-block``
22 and ``scsi-generic`` support passing guest persistent reservation
23 requests to a privileged external helper program. :program:`qemu-pr-helper`
25 accept incoming connections for communication with QEMU.
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dglibc.py4 # SPDX-License-Identifier: MIT
32 … features.append('EGLIBCPARALLELISM:task-check:pn-glibc-testsuite = "PARALLELMFLAGS="-j1""')
37 bitbake("glibc-testsuite -c check")
41 builddir = get_bb_var("B", "glibc-testsuite")
43 ptestsuite = "glibc-user" if ssh is None else "glibc"
44 self.ptest_section(ptestsuite, duration = int(end_time - start_time))
55 # build core-image-minimal with required packages
57 "glibc-charmaps",
63 # "python3-pexpect",
64 "nfs-utils",
[all …]
/openbmc/qemu/.gitlab-ci.d/custom-runners/
H A Dubuntu-22.04-aarch32.yml1 # All ubuntu-22.04 jobs should run successfully in an environment
2 # setup by the scripts/ci/setup/ubuntu/build-environment.yml task
3 # "Install basic packages to build QEMU on Ubuntu 22.04"
5 ubuntu-22.04-aarch32-all:
10 - ubuntu_22.04
11 - aarch32
13 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
16 - if: "$AARCH32_RUNNER_AVAILABLE"
20 - mkdir build
21 - cd build
[all …]
H A Dubuntu-22.04-s390x.yml1 # All ubuntu-22.04 jobs should run successfully in an environment
2 # setup by the scripts/ci/setup/ubuntu/build-environment.yml task
3 # "Install basic packages to build QEMU on Ubuntu 22.04"
5 ubuntu-22.04-s390x-all-linux:
10 - ubuntu_22.04
11 - s390x
13 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
14 - if: "$S390X_RUNNER_AVAILABLE"
16 - mkdir build
17 - cd build
[all …]
/openbmc/qemu/tests/vm/
H A Dfreebsd5 # Copyright 2017-2019 Red Hat Inc.
12 # the COPYING file in the top-level directory.
31 …= "https://download.freebsd.org/releases/CI-IMAGES/14.3-RELEASE/amd64/Latest/FreeBSD-14.3-RELEASE-
36 set -e;
37 rm -rf /home/qemu/qemu-test.*
38 cd $(mktemp -d /home/qemu/qemu-test.XXXXXX);
40 tar -xf /dev/vtbd1;
42 ../src/configure --extra-ldflags=-L/usr/local/lib \
43 --extra-cflags=-I/usr/local/include {configure_opts};
44 gmake --output-sync -j{jobs} {target} {verbose};
[all …]
H A Dopenbsd5 # Copyright 2017-2019 Red Hat Inc.
12 # the COPYING file in the top-level directory.
40 "gettext-tools",
43 "libusb1--",
66 set -e;
67 rm -rf /home/qemu/qemu-test.*
68 cd $(mktemp -d /home/qemu/qemu-test.XXXXXX);
70 tar -xf /dev/rsd1c;
72 ../src/configure --cc=cc --extra-cflags=-I/usr/local/include \
73 --extra-ldflags=-L/usr/local/lib {configure_opts};
[all …]
/openbmc/qemu/tests/functional/
H A Dtest_ppc64_hv.py5 # pseries supports the nested-HV hypervisor spec.
10 # later. See the COPYING file in the top-level directory.
21 # Alpine is a light weight distro that supports QEMU. These tests boot
22 # that on the machine then run a QEMU guest inside it in KVM mode,
24 # QEMU packages are downloaded and installed on each test. That's not a
26 # QEMU already installed and use that.
34 panic_message = 'Kernel panic - not syncing'
38 ('https://dl-cdn.alpinelinux.org/alpine/v3.21/'
39 'releases/ppc64le/alpine-standard-3.21.0-ppc64le.iso'),
52 cmd = "xorriso -osirrox on -indev %s -cpx %s %s" % (iso, path, filename)
[all …]
/openbmc/qemu/tests/qtest/libqos/
H A Digb.c4 * Copyright (c) 2022-2023 Red Hat, Inc.
20 #include "qemu/osdep.h"
25 #include "pci-pc.h"
26 #include "qemu/sockets.h"
27 #include "qemu/iov.h"
28 #include "qemu/module.h"
29 #include "qemu/bitops.h"
30 #include "libqos-malloc.h"
50 qpci_iounmap(&epci->pci_dev, epci->mac_regs); in e1000e_pci_destructor()
51 qpci_msix_disable(&epci->pci_dev); in e1000e_pci_destructor()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/graphviz/
H A Dgraphviz_12.2.1.bb3 LICENSE = "EPL-1.0"
7 bison-native \
8 groff-native \
10 gdk-pixbuf \
16 DEPENDS:append:class-target = " ${BPN}-native"
17 DEPENDS:append:class-nativesdk = " ${BPN}-native"
19 inherit autotools-brokensep pkgconfig gettext
21 SRC_URI = "https://gitlab.com/api/v4/projects/4207231/packages/generic/${BPN}-releases/${PV}/${BP}.…
23 SRC_URI:append:class-nativesdk = "\
24 file://graphviz-setup.sh \
[all …]
/openbmc/qemu/.gitlab-ci.d/cirrus/
H A DREADME.rst5 While it is possible to provide private runners for non-Linux platforms this
9 offering: more specifically, we use the `cirrus-run`_ script to trigger Cirrus
13 There is, however, some one-time setup required. If you want FreeBSD and macOS
16 * set up a GitHub repository for the project, eg. ``yourusername/qemu``.
17 This repository needs to exist for cirrus-run to work, but it doesn't need to
31 ``https://cirrus-ci.com/yourusername/qemu``
37 created earlier, eg. ``yourusername/qemu``;
44 general you'll want to be able to trigger Cirrus CI builds from non-protected
47 Once this one-time setup is complete, you can just keep pushing to your GitLab
51 .. _Cirrus CI GitHub app: https://github.com/marketplace/cirrus-ci
[all …]
/openbmc/openbmc-build-scripts/
H A Dqemu-build.sh4 # This build script is for running the QEMU build in a container
6 # It expects to be run in with the qemu source present in the directory called
7 # '$WORKSPACE/qemu', where WORKSPACE is an environment variable.
9 # In Jenkins configure the git SCM 'Additional Behaviours', 'check-out to a sub
10 # directory' called 'qemu'.
12 # When building locally set WORKSPACE to be the directory above the qemu
14 # git clone https://github.com/qemu/qemu
15 # WORKSPACE=$PWD ~/openbmc-build-scripts/qemu-build.sh
21 # Default: "", proxy is not setup if this is not set
30 #set -x
[all …]
/openbmc/qemu/docs/devel/
H A Dvfio-iommufd.rst9 for assigned devices. While the legacy kernel interface is group-centric,
10 the new iommufd interface is device-centric, relying on device fd and iommufd.
12 To support both interfaces in the QEMU VFIO device, introduce a base container
18 specific to either legacy or iommufd. Each container has its own way to setup
25 +-------+ +----------+ +-----+ +-----+
27 +---+---+ +----+-----+ +--+--+ +--+--+ +----------------------+
29 | | | | +------------+---------+
30 +---V-----------V-----------V--------V----+ /
31 | VFIOAddressSpace | <------------+
34 +-------+----------------------------+----+
[all …]

12345678910>>...19