Home
last modified time | relevance | path

Searched +full:build +full:- +full:user +full:- +full:static (Results 1 – 25 of 87) sorted by relevance

1234

/qemu/.gitlab-ci.d/
H A Dbuildtest.yml2 - local: '/.gitlab-ci.d/buildtest-template.yml'
4 build-system-alpine:
6 - .native_build_job_template
7 - .native_build_artifact_template
9 - job: amd64-alpine-container
12 TARGETS: avr-softmmu loongarch64-softmmu mips64-softmmu mipsel-softmmu
13 MAKE_CHECK_ARGS: check-build
14 CONFIGURE_ARGS: --enable-docs --enable-trace-backends=log,simple,syslog
16 check-system-alpine:
19 - job: build-system-alpine
[all …]
/qemu/
H A Dconfigure14 source_path=$(cd "$(dirname -- "$0")"; pwd)
16 if test "$PWD" -ef "$source_path"
18 echo "Using './build' as the directory for build output"
20 MARKER=build/auto-created-by-configure
22 if test -e build
24 if test -f $MARKER
26 rm -rf build
28 echo "ERROR: ./build dir already exists and was not previously created by configure"
33 if ! mkdir build || ! touch $MARKER
35 echo "ERROR: Could not create ./build directory. Check the permissions on"
[all …]
H A Dmeson.build15 meson.add_postconf_script(find_program('scripts/symlink-install-tree.py'))
28 config_host = keyval.load(meson.current_build_dir() / 'config-host.mak')
31 # configure runs. Since it is in the build directory
35 tmpdir = meson.current_build_dir() / 'meson-private/temp'
61 # type of binaries to build
66 have_linux_user = have_linux_user or target.endswith('linux-user')
67 have_bsd_user = have_bsd_user or target.endswith('bsd-user')
68 have_system = have_system or target.endswith('-softmmu')
113 …dgen.version() + ' is unsupported. You can install a new version with "cargo install bindgen-cli"')
120 message('To use Rust you can install a new version with "cargo install bindgen-cli"')
[all …]
H A DMAINTAINERS10 consult qemu-devel and not any specific individual privately.
23 W: Web-page with status/info
59 ------------------------------
63 L: qemu-devel@nongnu.org
72 R: Philippe Mathieu-Daudé <philmd@linaro.org>
75 F: docs/devel/build-environment.rst
76 F: docs/devel/code-of-conduct.rst
78 F: docs/devel/conflict-resolution.rst
80 F: docs/devel/submitting-a-patch.rst
81 F: docs/devel/submitting-a-pull-request.rst
[all …]
/qemu/docs/devel/
H A Dbuild-system.rst2 The QEMU build system architecture
6 QEMU build system. As with projects using GNU autotools, the QEMU build
8 to determine the local build environment characteristics, then they run
9 "make" to build the project. This is about where the similarities with
12 The two general ways to perform a build are as follows:
14 - build artifacts outside of QEMU source tree entirely::
17 mkdir build
18 cd build
22 - build artifacts in a subdir of QEMU source tree::
24 mkdir build
[all …]
H A Drust.rst14 __ https://doc.rust-lang.org/nomicon/meet-safe-and-unsafe.html
17 ------------------------------
20 invokes rustc directly, building static libraries that are then linked
24 However, QEMU's build system also tries to be easy to use for people who
25 are accustomed to the more "normal" Cargo-based development workflow.
28 * the set of warnings and lints that are used to build QEMU always
31 * it is also possible to use ``cargo`` for common Rust-specific coding
34 To this end, QEMU includes a ``build.rs`` build script that picks up
35 generated sources from QEMU's build directory and puts it in Cargo's
46 A target for ``rustfmt`` is also declared in ``rust/meson.build``:
[all …]
/qemu/target/loongarch/
H A DREADME1 - Introduction
7 …https://github.com/loongson/LoongArch-Documentation/releases/download/2021.08.17/LoongArch-Vol1-v1…
9 …We can get the latest loongarch documents at https://github.com/loongson/LoongArch-Documentation/t…
12 - System emulation
16 - Linux-user emulation
18 …We already support Linux user emulation. We can use LoongArch cross-tools to build LoongArch execu…
19 and We can also use qemu-loongarch64 to run LoongArch executables.
21 1. Config cross-tools env.
27 …./configure --static --prefix=/usr --disable-werror --target-list="loongarch64-linux-user" --en…
29 cd build
[all …]
/qemu/.gitlab-ci.d/custom-runners/
H A Dubuntu-22.04-aarch64.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-aarch64-all-linux-static:
8 stage: build
10 - ubuntu_22.04
11 - aarch64
13 - if: '$CI_PROJECT_NAMESPACE == "qemu-project" && $CI_COMMIT_BRANCH =~ /^staging/'
14 - if: "$AARCH64_RUNNER_AVAILABLE"
16 - mkdir build
[all …]
/qemu/tests/tcg/
H A DMakefile.target1 # -*- Mode: makefile -*-
5 # These are complicated by the fact we want to build them for guest
7 # ones we have cross-compilers for or docker images with
8 # cross-compilers.
11 # cross-compilers don't always have a large amount of libraries
14 # We only include the host build system for SRC_PATH and we don't
17 # CC - the C compiler command
18 # EXTRA_CFLAGS - any extra CFLAGS
19 # BUILD_STATIC - are we building static binaries
22 # may not package static libraries by default. If an external
[all …]
/qemu/tests/docker/
H A Ddocker.py12 # the top-level directory.
65 return _bytes_checksum(text.encode('utf-8'))
68 return open(path, 'rt', encoding='utf-8').read()
81 commands += [["docker"], ["sudo", "-n", "docker"]]
121 ldd_re = re.compile(r"(?:\S+ => )?(\S*) \(:?0x[0-9a-f]+\)")
123 ldd_output = subprocess.check_output(["ldd", executable]).decode('utf-8')
132 print("%s had no associated libraries (static build?)" % (executable))
145 This does rely on the host file-system being fairly multi-arch
199 # special case for Debian linux-user images
200 if img_name.startswith("debian") and img_name.endswith("user"):
[all …]
/qemu/tests/docker/dockerfiles/
H A Dcentos9.docker1 # THIS FILE WAS AUTO-GENERATED
3 # $ lcitool dockerfile --layers all centos-stream-9 qemu
5 # https://gitlab.com/libvirt/libvirt-ci
9 RUN dnf distro-sync -y && \
10 dnf install 'dnf-command(config-manager)' -y && \
11 dnf config-manager --set-enabled -y crb && \
12 dnf install -y epel-release && \
13 dnf install -y epel-next-release && \
14 dnf install -y \
15 SDL2-devel \
[all …]
H A Dfedora.docker1 # THIS FILE WAS AUTO-GENERATED
3 # $ lcitool dockerfile --layers all fedora-40 qemu
5 # https://gitlab.com/libvirt/libvirt-ci
9 RUN dnf install -y nosync && \
11 if test -d /usr/lib64\n\
19 nosync dnf update -y && \
20 nosync dnf install -y \
21 SDL2-devel \
22 SDL2_image-devel \
23 alsa-lib-devel \
[all …]
H A Dfedora-rust-nightly.docker1 # THIS FILE WAS AUTO-GENERATED
3 # $ lcitool dockerfile --layers all fedora-40 qemu
5 # https://gitlab.com/libvirt/libvirt-ci
9 RUN dnf install -y nosync && \
11 if test -d /usr/lib64\n\
19 nosync dnf update -y && \
20 nosync dnf install -y \
21 SDL2-devel \
22 SDL2_image-devel \
23 alsa-lib-devel \
[all …]
/qemu/docs/
H A Dconf.py1 # -*- coding: utf-8 -*-
3 # QEMU documentation build configuration file, created by
4 # sphinx-quickstart on Thu Jan 31 16:40:14 2019.
8 # for each of QEMU's manuals: in this case sphinx-build is run multiple
11 # the manuals into a single document: in this case sphinx-build is
12 # run once, on the top-level docs directory.
15 # only the ones the user cares about (in particular we don't want
16 # to ship the 'devel' manual to end-users).
17 # Third-party sites such as readthedocs.org will take option (2).
34 # The per-manual conf.py will set qemu_docdir for a single-manual build;
[all …]
/qemu/tests/lcitool/
H A Drefresh3 # 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]
56 # Optional user setting, this will always be the last thing added
59 "# As a final step configure the user (if env is defined)",
60 "ARG USER",
62 "RUN if [ \"${USER}\" ]; then \\",
63 " id ${USER} 2>/dev/null || useradd -u ${UID} -U ${USER}; fi\n"
[all …]
/qemu/hw/pci-host/
H A Dpnv_phb.c7 * COPYING file in the top-level directory.
14 #include "hw/pci-host/pnv_phb.h"
15 #include "hw/pci-host/pnv_phb3.h"
16 #include "hw/pci-host/pnv_phb4.h"
18 #include "hw/qdev-properties.h"
31 * which in turn calls the property release callback prop->release if
41 static bool pnv_parent_fixup(Object *parent, BusState *parent_bus, in pnv_parent_fixup()
47 const char *dev_id = DEVICE(child)->id; in pnv_parent_fixup()
49 if (child->parent == parent) { in pnv_parent_fixup()
65 static Object *pnv_phb_user_get_parent(PnvChip *chip, PnvPHB *phb, Error **errp) in pnv_phb_user_get_parent()
[all …]
/qemu/docs/devel/testing/
H A Dqgraph.rst15 covering all the setups, and build the correct command line.
23 booting the right QEMU machine, pick the right device, build the command line
29 so the sdhci-test should only care of linking its qgraph node with
34 ---------------
45 - **QNODE_MACHINE**: for example ``arm/raspi2b``
46 - **QNODE_DRIVER**: for example ``generic-sdhci``
47 - **QNODE_INTERFACE**: for example ``sdhci`` (interface for all ``-sdhci``
54 - **QNODE_TEST**: for example ``sdhci-test``. A test consumes an interface
59 - QNODE_MACHINE: each machine struct must have a ``QGuestAllocator`` and
63 - QNODE_DRIVER: driver names must be unique, and machines and nodes
[all …]
/qemu/include/qemu/
H A Dplugin.h5 * See the COPYING file in the top-level directory.
10 #include "qemu/config-file.h"
11 #include "qemu/qemu-plugin.h"
12 #include "qemu/error-report.h"
15 #include "qemu/plugin-event.h"
30 static inline qemu_plugin_meminfo_t
40 static inline enum qemu_plugin_mem_rw
49 static inline void qemu_plugin_add_opts(void) in qemu_plugin_add_opts()
100 * A dynamic callback has an insertion point that is determined at run-time.
143 * struct CPUPluginState - per-CPU state for plugins
[all …]
/qemu/util/
H A Dmodule.c10 * the COPYING file in the top-level directory.
12 * Contributions after 2012-01-13 are licensed under the terms of the
23 #include "qemu/config-file.h"
26 #include "qemu-version.h"
39 static ModuleTypeList init_type_list[MODULE_INIT_MAX];
40 static bool modules_init_done[MODULE_INIT_MAX];
42 static ModuleTypeList dso_init_list;
44 static void init_lists(void) in init_lists()
46 static int inited; in init_lists()
63 static ModuleTypeList *find_type(module_init_type type) in find_type()
[all …]
/qemu/tests/tcg/s390x/
H A DMakefile.softmmu-target3 # EXTFLAGS can be passed by the user, e.g. to override the --accel
4 QEMU_OPTS+=-action panic=exit-failure -nographic -serial chardev:output $(EXTFLAGS) -kernel
6 CFLAGS+=-ggdb -O0 -I$(SRC_PATH)/include/hw/s390x/ipl/
7 LDFLAGS=-nostdlib -static
10 $(CC) -march=z13 -m64 -Wa,--noexecstack -c $< -o $@
13 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -march=z13 -m64 -c $< -o $@
16 $(CC) $< -o $@ $(LDFLAGS)
22 exrl-ssm-early \
26 lpswe-early \
30 precise-smc-softmmu \
[all …]
/qemu/python/
H A DREADME.rst4 This directory houses Python tooling used by the QEMU project to build,
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
33 (It is a shortcut for ``pip3 install -e .[devel]``.)
36 <https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/>`_
41 --------------------------------------------
48 https://docs.python.org/3/using/cmdline.html#envvar-PYTHONPATH
55 with static analysis tools being able to locate and analyze the code
59 so that tools like ``qmp-shell`` are always available via $PATH. To
[all …]
/qemu/qga/
H A Dcommands-windows-ssh.c2 * QEMU Guest Agent win32-specific command implementations for SSH keys.
12 * See the COPYING file in the top-level directory.
17 #include <qga-qapi-types.h>
19 #include "commands-common-ssh.h"
20 #include "commands-windows-ssh.h"
21 #include "guest-agent-core.h"
28 #include "qga-qapi-commands.h"
35 #define LOCAL_SYSTEM_SID "S-1-5-18"
36 #define ADMIN_SID "S-1-5-32-544"
44 g_free(info->sshDirectory); in free_userInfo()
[all …]
/qemu/hw/smbios/
H A Dsmbios_legacy.c4 * Copyright (C) 2009 Hewlett-Packard Development Company, L.P.
12 * the COPYING file in the top-level directory.
14 * Contributions after 2012-01-13 are licensed under the terms of the
44 static uint8_t *smbios_entries;
45 static size_t smbios_entries_len;
56 static void smbios_add_field(int type, int offset, const void *data, size_t len) in smbios_add_field()
67 field->header.type = SMBIOS_FIELD_ENTRY; in smbios_add_field()
68 field->header.length = cpu_to_le16(sizeof(*field) + len); in smbios_add_field()
70 field->type = type; in smbios_add_field()
71 field->offset = cpu_to_le16(offset); in smbios_add_field()
[all …]
/qemu/hw/loongarch/
H A Dvirt-acpi-build.c1 /* SPDX-License-Identifier: GPL-2.0-or-later */
10 #include "qemu/error-report.h"
15 #include "hw/acpi/acpi-defs.h"
18 #include "hw/acpi/bios-linker-loader.h"
20 #include "hw/mem/memory-device.h"
24 #include "hw/pci-host/ls7a.h"
30 #include "qom/qom-qobject.h"
33 #include "hw/pci-host/gpex.h"
36 #include "hw/platform-bus.h"
37 #include "hw/acpi/aml-build.h"
[all …]
/qemu/storage-daemon/
H A Dqemu-storage-daemon.c4 * Copyright (c) 2003-2008 Fabrice Bellard
35 #include "monitor/monitor-internal.h"
38 #include "qapi/qapi-visit-block-core.h"
39 #include "qapi/qapi-visit-block-export.h"
40 #include "qapi/qapi-visit-control.h"
43 #include "qapi/qobject-input-visitor.h"
45 #include "qemu/help-texts.h"
46 #include "qemu-version.h"
48 #include "qemu/config-file.h"
49 #include "qemu/error-report.h"
[all …]

1234