Home
last modified time | relevance | path

Searched +full:package +full:- +full:mode (Results 1 – 25 of 43) sorted by relevance

12

/qemu/target/i386/kvm/
H A Dvmsr_energy.h2 * QEMU KVM support -- x86 virtual energy-related MSR.
10 * See the COPYING file in the top-level directory.
19 #include "io/channel-socket.h"
33 * @ pkg_id: package number of the CPU
35 * @ vpkg: virtual package number
38 * has been scheduled in User mode
40 * has been scheduled in System mode
58 * Package statistic
59 * @ e_start: package energy counter before the sleep
60 * @ e_end: package energy counter after the sleep
[all …]
H A Dkvm.c4 * Copyright (C) 2006-2008 Qumranet Technologies
11 * See the COPYING file in the top-level directory.
16 #include "qapi/qapi-events-run-state.h"
28 #include "standard-headers/asm-x86/kvm_para.h"
29 #include "hw/xen/interface/arch-x86/cpuid.h"
32 #include "host-cpu.h"
39 #include "../confidential-guest.h"
42 #include "xen-emu.h"
44 #include "hyperv-proto.h"
47 #include "qemu/host-utils.h"
[all …]
/qemu/python/
H A DREADME.rst6 then by package (e.g. ``qemu/machine``, ``qemu/qmp``, etc).
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
23 a forwarder ("qemu.egg-link") that points to the source tree. In so
24 doing, the installed package always reflects the latest version in your
28 packages for testing this package. They are not runtime requirements,
32 install QEMU in editable mode to the current environment.
33 (It is a shortcut for ``pip3 install -e .[devel]``.)
36 <https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/>`_
[all …]
H A DPACKAGE.rst4 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 -----
14 package's documentation
19 ------------
21 This package is maintained by John Snow <jsnow@redhat.com> as part of
28 <https://gitlab.com/jsnow/qemu/-/tree/python>`_, and there is an
29 official `GitLab mirror <https://gitlab.com/qemu-project/qemu>`_.
32 <https://gitlab.com/qemu-project/qemu/-/issues>`_ and tag ``@jsnow`` in
36 package can be installed with the optional dependency group "devel":
[all …]
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:"
34 @echo " and install the qemu package in editable mode."
37 @echo "make min-venv"
40 @echo "make dev-venv"
[all …]
/qemu/qapi/
H A Dcontrol.json1 # -*- Mode: Python -*-
19 # .. qmp-example::
21 # -> { "execute": "qmp_capabilities",
23 # <- { "return": {} }
28 # :doc:`/interop/qmp-spec`)
38 'allow-preconfig': true }
46 # @oob: QMP ability to support out-of-band requests. (Please refer to
47 # qmp-spec.rst for more information on OOB)
57 # A three-part version number.
81 # @package: QEMU will always set this field to an empty string.
[all …]
H A Dmachine-common.json1 # -*- Mode: Python -*-
5 # See the COPYING file in the top-level directory.
44 # @socket: socket level, which would also be called package level.
56 # level means following the architecture-specific settings.
/qemu/docs/devel/migration/
H A Dpostcopy.rst25 ``migrate_set_capability postcopy-ram on``
28 started in precopy mode. Issuing:
43 ``migrate_set_capability postcopy-blocktime on``
45 Postcopy blocktime can be retrieved by query-migrate qmp command.
46 postcopy-blocktime value of qmp command will show overlapped blocking
47 time for all vCPU, postcopy-vcpu-blocktime will show list of blocking
59 -------------
62 ADVISE->DISCARD->LISTEN->RUNNING->END
64 - Advise
74 - Discard
[all …]
/qemu/docs/about/
H A Dbuild-platforms.rst1 .. _Supported-build-platforms:
25 support for those backports, unless the feature is auto-detectable in a
33 :ref:`setup-build-env` page.
36 ----------------------------
40 .. list-table::
41 :header-rows: 1
43 * - CPU Architecture
44 - Accelerators
45 * - Arm
46 - hvf (64 bit only), kvm (64 bit only), tcg, xen
[all …]
/qemu/pc-bios/
HDopenbios-sparc32 ... -package-path iterate-tree-begin iterate-tree device_type parent is-open is-ibuf create
HDopenbios-ppc ... i-cache-sets d-cache-block-size i-cache-block-size tlb- ...
/qemu/docs/devel/
H A Dbuild-system.rst14 - build artifacts outside of QEMU source tree entirely::
22 - build artifacts in a subdir of QEMU source tree::
38 - detect the host architecture
40 - list the targets for which to build emulators; the list of
43 - find the compilers (native and cross) used to build executables,
45 fragments (``config-host.mak``) or a Meson machine file
46 (``config-meson.cross``)
48 - create a virtual environment in which all Python code runs during
51 - invoke Meson in the virtual environment, to perform the actual
55 which a same-named Meson option exists; dashes in the command line are
[all …]
/qemu/docs/devel/testing/
H A Dmain.rst7 everything from unit testing and exercising specific sub-systems all
9 tests you can run ``make check-help`` from either the source or build
16 [./pyvenv/bin/]meson test --suite qemu:softfloat
38 -------------------------
49 Different sub-types of "make check" tests will be explained below.
55 .. _unit-tests:
68 In QEMU, unit tests can be invoked with ``make check-unit``. They are
76 1. Create a new source file. For example, ``tests/unit/foo-test.c``.
86 is in ``tests/unit/foo-test.c``, it is enough to add an entry like::
90 'foo-test': [],
[all …]
/qemu/include/fpu/
H A Dsoftfloat-types.h5 * IEC/IEEE Floating-point Arithmetic Package. Those parts of the code (and
9 * the SoftFloat-2a license
11 * GPL-v2-or-later
18 This C header file is part of the SoftFloat IEC/IEEE Floating-point
19 Arithmetic Package, Release 2a.
24 National Science Foundation under grant MIP-9311980. The original version
25 of this code was written as part of a project to build a fixed-point vector
77 * version 2 or later. See the COPYING file in the top-level directory.
86 * Software IEC/IEEE floating-point types.
118 * Software neural-network floating-point types.
[all …]
/qemu/crypto/
H A Dblock-luks-priv.h4 * Copyright (c) 2015-2016 Red Hat, Inc.
24 #include "block-luks.h"
38 * docs/on-disk-format.pdf
40 * in 'cryptsetup' package source code
79 * This struct is written to disk in big-endian format,
80 * but operated upon in native-endian format.
91 /* number of anti-forensic stripes */
96 * This struct is written to disk in big-endian format,
97 * but operated upon in native-endian format.
109 /* cipher mode specification (cbc-plain, xts-essiv:sha256, etc) */
/qemu/docs/system/devices/
H A Dnet.rst4 -----------------
10 devices or the non-privileged user mode network stack), or to other
24 As an example, you can download the ``linux-test-xxx.tar.gz`` archive
25 and copy the script ``qemu-ifup`` in ``/etc`` and configure properly
26 ``sudo`` so that the command ``ifconfig`` contained in ``qemu-ifup`` can
37 TAP-Win32. But it is not included in standard QEMU for Windows, so you
38 will need to get it separately. It is part of OpenVPN package, so
41 Using the user mode network stack
44 By using the option ``-net user`` (default configuration if no ``-net``
45 option is specified), QEMU uses a completely user mode network stack
[all …]
/qemu/tests/tcg/
H A DMakefile.target1 # -*- Mode: makefile -*-
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
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
23 # cross-compiler can only build dynamic libraries the user might need
29 # We also expect to be in the tests build dir for the FOO-(linux-user|softmmu).
[all …]
/qemu/hw/riscv/
H A Dvirt-acpi-build.c4 * RISC-V virt ACPI generation
6 * Copyright (C) 2008-2010 Kevin O'Connor <kevin@koconnor.net>
10 * Copyright (C) 2021-2023 Ventana Micro Systems Inc
27 #include "hw/acpi/acpi-defs.h"
29 #include "hw/acpi/aml-build.h"
34 #include "hw/pci-host/gpex.h"
37 #include "hw/virtio/virtio-acpi.h"
40 #include "qemu/error-report.h"
69 uint8_t guest_index_bits = imsic_num_bits(s->aia_guests + 1); in riscv_acpi_madt_add_rintc()
70 uint64_t hart_id = arch_ids->cpus[uid].arch_id; in riscv_acpi_madt_add_rintc()
[all …]
/qemu/docs/system/
H A Dtls.rst4 ------------------------------
18 The GnuTLS package includes a command called ``certtool`` which can be
30 certificate authority to create certificates. A self-signed CA is
32 ability of malicious 3rd parties to trick the CA into mis-issuing certs
54 # certtool --generate-privkey > ca-key.pem
56 To generate a self-signed certificate requires one core piece of
66 # certtool --generate-self-signed \
67 --load-privkey ca-key.pem \
68 --template ca.info \
69 --outfile ca-cert.pem
[all …]
/qemu/
H A Dmeson_options.txt1 # These options do not correspond to a --enable/--disable-* option
3 # scripts/meson-buildoptions.py's SKIP_OPTIONS constant too.
9 option('qemu_firmwarepath', type : 'array', value : ['share/qemu-firmware'],
12 description: 'use specified string as sub-version of the package')
25 …description: 'set block driver read-write whitelist (by default affects only QEMU, not tools like …
27 …description: 'set block driver read-only whitelist (by default affects only QEMU, not tools like q…
28 option('interp_prefix', type : 'string', value : '/usr/gnemul/qemu-%M',
33 description: 'fuzzing engine library for OSS-Fuzz')
40 # Everything else can be set via --enable/--disable-* option
42 # here make sure to run "make update-buildoptions".
[all …]
/qemu/docs/interop/
H A Dqmp-spec.rst2 Copyright (C) 2009-2016 Red Hat, Inc.
5 later. See the COPYING file in the top-level directory.
12 The QEMU Machine Protocol (QMP) is a JSON-based
14 machine-level. It is also in use by the QEMU Guest Agent (QGA), which
18 be found in the :doc:`qemu-qmp-ref` and the :doc:`qemu-ga-ref`.
32 json-DATA-STRUCTURE-NAME
34 Where DATA-STRUCTURE-NAME is any valid JSON data structure, as defined
37 The server expects its input to be encoded in UTF-8, and sends its
40 For convenience, json-object members mentioned in this document will
43 hand, use of json-array elements presumes that preserving order is
[all …]
/qemu/migration/
H A Dmigration.c10 * the COPYING file in the top-level directory.
12 * Contributions after 2012-01-13 are licensed under the terms of the
19 #include "qemu/error-report.h"
20 #include "qemu/main-loop.h"
28 #include "system/cpu-throttle.h"
35 #include "migration-stats.h"
37 #include "qemu-file.h"
42 #include "qapi/clone-visitor.h"
43 #include "qapi/qapi-visit-migration.h"
44 #include "qapi/qapi-visit-sockets.h"
[all …]
/qemu/monitor/
H A Dhmp-cmds.c10 * the COPYING file in the top-level directory.
12 * Contributions after 2012-01-13 are licensed under the terms of the
17 #include "system/address-spaces.h"
23 #include "monitor/monitor-internal.h"
25 #include "qapi/qapi-commands-control.h"
26 #include "qapi/qapi-commands-machine.h"
27 #include "qapi/qapi-commands-misc.h"
48 char **split = g_strsplit(str ?: "", ",", -1); in hmp_split_at_comma()
66 if (info->name) { in hmp_info_name()
67 monitor_printf(mon, "%s\n", info->name); in hmp_info_name()
[all …]
/qemu/hw/acpi/
H A Dcpu_hotplug.c10 * See the COPYING file in the top-level directory.
18 #include "qemu/error-report.h"
30 uint64_t val = cpus->sts[addr]; in cpu_status_read()
40 mode by writing 0 at the beginning of legacy CPU bitmap in cpu_status_write()
44 object_property_set_bool(cpus->device, "cpu-hotplug-legacy", false, in cpu_status_write()
67 cpu_id = cpu->cc->get_arch_id(cpu); in acpi_set_cpu_present_bit()
69 object_property_set_bool(g->device, "cpu-hotplug-legacy", false, in acpi_set_cpu_present_bit()
76 g->sts[cpu_id / 8] |= (1 << (cpu_id % 8)); in acpi_set_cpu_present_bit()
100 memory_region_init_io(&gpe_cpu->io, owner, &AcpiCpuHotplug_ops, in legacy_acpi_cpu_hotplug_init()
101 gpe_cpu, "acpi-cpu-hotplug", ACPI_GPE_PROC_LEN); in legacy_acpi_cpu_hotplug_init()
[all …]
/qemu/roms/
H A Dedk2-build.py4 https://gitlab.com/kraxel/edk2-build-config
19 # pylint: disable=unused-variable
21 """ detect 'git rebase -x edk2-build.py master' testbuilds """
27 with open(gitdir, 'r', encoding = 'utf-8') as f:
30 if not os.path.exists(f'{gitdir}/rebase-merge/msgnum'):
32 with open(f'{gitdir}/rebase-merge/msgnum', 'r', encoding = 'utf-8') as f:
34 with open(f'{gitdir}/rebase-merge/end', 'r', encoding = 'utf-8') as f:
36 with open(f'{gitdir}/rebase-merge/head-name', 'r', encoding = 'utf-8') as f:
39 rebase_prefix = f'[ {int(msgnum/2)} / {int(end/2)} - {head[-1]} ] '
42 version_override = "test-build-patch-series"
[all …]

12