Home
last modified time | relevance | path

Searched +full:- +full:set (Results 1 – 25 of 1040) sorted by relevance

12345678910>>...42

/qemu/hw/gpio/
H A Daspeed_gpio.c4 * Copyright (C) 2017-2019 IBM Corp.
6 * SPDX-License-Identifier: GPL-2.0-or-later
10 #include "qemu/host-utils.h"
32 * For each set of gpios there are three sensitivity registers that control
36 * -----------------------------
37 * | 0 | 0 | 0 | falling-edge
38 * | 0 | 0 | 1 | rising-edge
39 * | 0 | 1 | 0 | level-low
40 * | 0 | 1 | 1 | level-high
41 * | 1 | X | X | dual-edge
[all …]
/qemu/target/xtensa/core-de233_fpu/
H A Dcore-matmap.h2 * xtensa/config/core-matmap.h -- Memory access and translation mapping
10 * information contained in the core-isa.h header file.
19 * XCHAL_ICACHE_SIZE (presence of I-cache)
20 * XCHAL_DCACHE_SIZE (presence of D-cache)
25 /* Copyright (c) 1999-2020 Tensilica Inc.
49 /*----------------------------------------------------------------------
51 ----------------------------------------------------------------------*/
55 /* Cache Attribute encodings -- lists of access modes for each cache attribute: */
117 #define XCHAL_CA_WRITETHRU 11 /* cache enabled (write-through) mode */
118 #define XCHAL_CA_WRITEBACK 7 /* cache enabled (write-back) mode */
[all …]
/qemu/
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')
35 tmpdir = meson.current_build_dir() / 'meson-private/temp'
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"')
128 '--rustc-version', rustc.version(),
129 '--workspace', meson.project_source_root() / 'rust']
[all …]
H A Dqemu-edid.c5 * See the COPYING file in the top-level directory.
23 "Typically you'll pipe the output into edid-decode\n" in usage()
26 "usage: qemu-edid <options>\n" in usage()
28 " -h print this text\n" in usage()
29 " -o <file> set output file (stdout by default)\n" in usage()
30 " -v <vendor> set monitor vendor (three letters)\n" in usage()
31 " -n <name> set monitor name\n" in usage()
32 " -s <serial> set monitor serial\n" in usage()
33 " -d <dpi> set display resolution\n" in usage()
34 " -x <prefx> set preferred width\n" in usage()
[all …]
/qemu/libdecnumber/
H A DdecNumber.c29 02110-1301, USA. */
31 /* ------------------------------------------------------------------ */
33 /* ------------------------------------------------------------------ */
44 /* If DECDPUN>4 or DECUSE64=1, the C99 64-bit int64_t and */
45 /* uint64_t types may be used. To avoid these, set DECUSE64=0 */
54 /* range -999,999,999 through 0). Mathematical functions (for */
56 /* tightly: digits, emax, and -emin in the context must be <= */
71 /* SIGFPE signal is then raised if the corresponding trap-enabler */
72 /* flag in the decContext is set (is 1). */
82 /* representation as it comprises fields which may be machine- */
[all …]
/qemu/docs/system/devices/
H A Dnvme.rst5 QEMU provides NVMe emulation through the ``nvme``, ``nvme-ns`` and
6 ``nvme-subsys`` devices.
12 `Simple Copy`_, `Zoned Namespaces`_, `metadata`_ and `End-to-End Data
19 --------------------
32 .. code-block:: console
34 -drive file=nvm.img,if=none,id=nvm
35 -device nvme,serial=deadbeef,drive=nvm
38 are mentioned here, but see ``-device nvme,help`` to list all possible
42 Set the maximum number of allowed I/O queue pairs. This replaces the
46 The number of MSI-X vectors that the device should support.
[all …]
/qemu/docs/specs/
H A Dacpi_cpu_hotplug.rst1 QEMU<->ACPI BIOS CPU hotplug interface
7 ACPI BIOS GPE.2 handler is dedicated for notifying OS about CPU hot-add
8 and hot-remove events.
12 -------------------------------------------
16 - ICH9-LPC (IO port 0x0cd8-0xcf7, 1-byte access)
17 - PIIX-PM (IO port 0xaf00-0xaf1f, 1-byte access)
18 - One bit per CPU. Bit position reflects corresponding CPU APIC ID. Read-only.
19 - The first DWORD in bitmap is used in write mode to switch from legacy
22 QEMU sets corresponding CPU bit on hot-add event and issues SCI
23 with GPE.2 event set. CPU present map is read by ACPI BIOS GPE.2 handler
[all …]
/qemu/include/qapi/
H A Dvisitor-impl.h4 * Copyright (C) 2012-2016 Red Hat, Inc.
9 * See the COPYING.LIB file in the top-level directory.
24 * be set for $TYPE visits to work"; if a visitor implementation omits
33 * permit some assertions based on whether a given bit is set (that
50 /* Must be set to visit structs */
57 /* Must be set to visit structs */
60 /* Must be set; implementations may require @list to be non-null,
65 /* Must be set */
71 /* Must be set */
74 /* Must be set by input and clone visitors to visit alternates */
[all …]
/qemu/include/hw/xen/interface/
H A Dfeatures.h1 /* SPDX-License-Identifier: MIT */
16 * The list of all the features the guest supports. They are set by
24 * XENFEAT_dom0 MUST be set if the guest is to be booted as dom0,
28 * If set, the guest does not need to write-protect its pagetables, and can
34 * If set, the guest does not need to write-protect its segment descriptor
40 * If set, translation between the guest's 'pseudo-physical' address space
42 * mode the guest does not need to perform phys-to/from-machine translations
47 /* If set, the guest is running in supervisor mode (e.g., x86 ring 0). */
51 * If set, the guest does not need to allocate x86 PAE page directories
63 * If set, GNTTABOP_map_grant_ref honors flags to be placed into guest kernel
[all …]
/qemu/docs/devel/testing/
H A Dci-jobs.rst.inc8 Set variable globally in the user's CI namespace
9 ------------------------------------------------
11 Variables can be set globally in the user's CI namespace setting.
13 For further information about how to set these variables, please refer to::
15 https://docs.gitlab.com/ee/ci/variables/#add-a-cicd-variable-to-a-project
17 Set variable manually when pushing a branch or tag to the user's repository
18 ---------------------------------------------------------------------------
20 Variables can be set manually when pushing a branch or tag, using
21 git-push command line arguments.
27 git push -o ci.variable="QEMU_CI_EXAMPLE_VAR=value" myrepo mybranch
[all …]
/qemu/linux-headers/linux/
H A Dvhost.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
4 /* Userspace interface for in-kernel virtio accelerators. */
18 #define VHOST_FILE_UNBIND -1
29 /* Set current process as the (exclusive) owner of this file descriptor. This
37 /* Set up/modify memory layout */
43 * The bit is set using an atomic 32 bit operation. */
44 /* Set base address for logging. */
69 /* Set number of descriptors in ring. This parameter can not
72 /* Set addresses for the ring. */
79 /* Set the vring byte order in num. Valid values are VHOST_VRING_LITTLE_ENDIAN
[all …]
/qemu/contrib/plugins/
H A Dcache.c5 * See the COPYING file in the top-level directory.
12 #include <qemu-plugin.h>
37 * A CacheSet is a set of cache blocks. A memory block that maps to a set can be
38 * put in any of the blocks inside the set. The number of block per set is
45 * In order to search for memory data in the cache, the set identifier and tag
46 * are extracted from the address and the set is probed to see whether a tag
50 * the set number, and the tag.
52 * The set number is used to identify the set in which the block may exist.
53 * The tag is compared against all the tags of a set to search for a match. If a
92 void (*update_hit)(Cache *cache, int set, int blk);
[all …]
/qemu/python/qemu/utils/
H A Dqom.py4 usage: qom [-h] {set,get,list,tree,fuse} ...
9 -h, --help show this help message and exit
12 {set,get,list,tree,fuse}
13 set Set a QOM property value
28 # See the COPYING file in the top-level directory.
30 # Based on ./scripts/qmp/qom-[set|get|tree|list]
51 QOM Command - Set a property to a given value.
53 usage: qom-set [-h] [--socket SOCKET] <path>.<property> <value>
55 Set a QOM property value
62 -h, --help show this help message and exit
[all …]
/qemu/tests/tcg/aarch64/gdbstub/
H A Dtest-mte.py3 # Test GDB memory-tag commands that exercise the stubs for the qIsAddressTagged,
5 # Logical tags-related commands rely on local operations, hence don't exercise
8 # The test consists in breaking just after a tag is set in a specific memory
9 # chunk, and then using the GDB 'memory-tagging' subcommands to set/get tags in
10 # different memory locations and ranges in the MTE-enabled memory chunk.
12 # This is launched via tests/guest-debug/run-test.py
20 exit("This script must be launched via tests/guest-debug/run-test.py!")
26 PATTERN_0 = r"Memory tags for address 0x[0-9a-f]+ match \(0x[0-9a-f]+\)."
27 PATTERN_1 = r".*(0x[0-9a-f]+)"
31 p = arg_parser(prog="test-mte.py", description="TCG MTE tests.")
[all …]
/qemu/docs/system/arm/
H A Dvirt.rst1 .. _arm-virt:
10 idiosyncrasies and limitations of a particular bit of real-world
18 ``virt-5.0`` machine type will behave like the ``virt`` machine from
19 the QEMU 5.0 release, and migration should work between ``virt-5.0``
20 of the 5.0 release and ``virt-5.0`` of the 5.1 release. Migration
22 the non-versioned ``virt`` machine type.
24 VM migration is not guaranteed when using ``-cpu max``, as features
33 - PCI/PCIe devices
34 - Flash memory
35 - Either one or two PL011 UARTs for the NonSecure World
[all …]
/qemu/util/
H A Devent.c1 /* SPDX-License-Identifier: GPL-2.0-or-later */
8 * - FREE -> SET (qemu_event_set)
9 * - BUSY -> SET (qemu_event_set)
10 * - SET -> FREE (qemu_event_reset)
11 * - FREE -> BUSY (qemu_event_wait)
14 * BUSY -> SET and FREE -> BUSY, respectively.
16 * Without futex, BUSY -> SET and FREE -> BUSY never happen. Instead, the waking
17 * operation follows FREE -> SET and the blocking operation will happen in
18 * qemu_event_wait() if the event is not SET.
20 * SET->BUSY does not happen (it can be observed from the outside but
[all …]
/qemu/linux-user/alpha/
H A Dsignal.c21 #include "user-internals.h"
22 #include "signal-common.h"
23 #include "linux-user/trace.h"
70 abi_ulong frame_addr, target_sigset_t *set) in setup_sigcontext() argument
74 __put_user(on_sig_stack(frame_addr), &sc->sc_onstack); in setup_sigcontext()
75 __put_user(set->sig[0], &sc->sc_mask); in setup_sigcontext()
76 __put_user(env->pc, &sc->sc_pc); in setup_sigcontext()
77 __put_user(8, &sc->sc_ps); in setup_sigcontext()
80 __put_user(env->ir[i], &sc->sc_regs[i]); in setup_sigcontext()
82 __put_user(0, &sc->sc_regs[31]); in setup_sigcontext()
[all …]
/qemu/tests/qemu-iotests/
H A D03957 _make_test_img -o "compat=1.1,lazy_refcounts=on" $size
59 $QEMU_IO -c "write -P 0x5a 0 512" "$TEST_IMG" | _filter_qemu_io
61 # The dirty bit must not be set
68 _make_test_img -o "compat=1.1,lazy_refcounts=on" $size
71 $QEMU_IO -c "write -P 0x5a 0 512" \
72 -c "sigraise $(kill -l KILL)" "$TEST_IMG" 2>&1 \
75 # The dirty bit must be set
80 echo "== Read-only access must still work =="
82 $QEMU_IO -r -c "read -P 0x5a 0 512" "$TEST_IMG" | _filter_qemu_io
84 # The dirty bit must be set
[all …]
H A Dcommon.qemu30 QEMU_FIFO_IN="${QEMU_TEST_DIR}/qmp-in-$$"
31 QEMU_FIFO_OUT="${QEMU_TEST_DIR}/qmp-out-$$"
51 # If $silent is set to anything but an empty string, then
53 # If $mismatch_only is set, only non-matching responses will
56 # If $capture_events is non-empty, then any QMP event names it lists
61 # If $only_capture_events is set to anything but an empty string,
65 # If $success_or_failure is set, the meaning of the arguments is
68 # success and ${QEMU_STATUS[$1]} is set to 0.
71 # is not set) or ${QEMU_STATUS[$1]} is set to -1 (otherwise).
77 if [ -z "${success_or_failure}" ]; then
[all …]
/qemu/linux-headers/asm-mips/
H A Dkvm.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
28 * If Config[AT] is zero (32-bit CPU), the register contents are
29 * stored in the lower 32-bits of the struct kvm_regs fields and sign
30 * extended to 64-bits.
51 * bits[63..52] - As per linux/kvm.h
52 * bits[51..32] - Must be zero.
53 * bits[31..16] - Register set.
55 * Register set = 0: GP registers from kvm_regs (see definitions below).
57 * Register set = 1: CP0 registers.
58 * bits[15..8] - COP0 register set.
[all …]
/qemu/tests/tcg/aarch64/system/
H A Dmte.S8 * SPDX-License-Identifier: LGPL-2.1-or-later
11 #define addr x0 /* Ptr to the start of the MTE-enabled page. */
12 #define tagged_addr x1 /* 'addr' ptr with a random-generated tag added. */
28 * Set MAIR_EL1 (Memory Attribute Index Register). In boot.S, the
29 * attribute index for .mte_page is set to point to MAILR_EL field Attr1
30 * (AttrIndx=Attr1), so set Attr1 as Tagged Normal (MTE) to enable MTE
40 * Set TCR_EL1 (Translation Control Registers) to ignore the top byte
50 * Set SCTLR_EL1 (System Control Register) to enable the use of MTE
67 * MTE-enabled page resides at the 3rd 2MB chunk in the second 1GB
77 * Set GCR for random tag generation. 0xA5 is just a random value to set
[all …]
/qemu/docs/interop/
H A Dqcow2.rst15 ------
19 Byte 0 - 3: magic
22 4 - 7: version
25 8 - 15: backing_file_offset
31 files (auto-clear feature bit 1).
33 16 - 19: backing_file_size
38 20 - 23: cluster_bits
50 24 - 31: size
64 32 - 35: crypt_method
69 36 - 39: l1_size
[all …]
/qemu/include/migration/
H A Dblocker.h10 * the COPYING file in the top-level directory.
17 #include "qapi/qapi-types-migration.h"
22 * @migrate_add_blocker - prevent all modes of migration from proceeding
24 * @reasonp - address of an error to be returned whenever migration is attempted
26 * @errp - [out] The reason (if any) we cannot block migration right now.
28 * @returns - 0 on success, -EBUSY/-EACCES on failure, with errp set.
30 * *@reasonp is freed and set to NULL if failure is returned.
37 * @migrate_add_blocker_internal - prevent all modes of migration from
38 * proceeding, but ignore -only-migratable
40 * @reasonp - address of an error to be returned whenever migration is attempted
[all …]
/qemu/tests/qtest/
H A Dnuma-test.c9 * See the COPYING file in the top-level directory.
19 return g_strdup_printf("%s %s", generic_cli->str, test_cli); in make_cli()
28 cli = make_cli(data, "-machine smp.cpus=8 -numa node,nodeid=0,memdev=ram,cpus=0-3 " in test_mon_explicit()
29 "-numa node,nodeid=1,cpus=4-7"); in test_mon_explicit()
45 cli = make_cli(data, "-machine smp.cpus=8,smp.sockets=8 " in test_def_cpu_split()
46 "-numa node,memdev=ram -numa node"); in test_def_cpu_split()
62 cli = make_cli(data, "-machine smp.cpus=8 " in test_mon_partial()
63 "-numa node,nodeid=0,memdev=ram,cpus=0-1 " in test_mon_partial()
64 "-numa node,nodeid=1,cpus=4-5 "); in test_mon_partial()
76 *resp = qtest_qmp(qts, "{ 'execute': 'query-cpus-fast' }"); in get_cpus()
[all …]
/qemu/tests/migration-stress/guestperf/
H A Dengine.py82 info = vm.cmd("query-migrate")
96 info["ram"].get("normal-bytes", 0),
97 info["ram"].get("dirty-pages-rate", 0),
99 info["ram"].get("dirty-sync-count", 0)
102 info.get("total-time", 0),
104 info.get("expected-downtime", 0),
105 info.get("setup-time", 0),
106 info.get("cpu-throttle-percentage", 0),
107 info.get("dirty-limit-throttle-time-per-round", 0),
108 info.get("dirty-limit-ring-full-time", 0),
[all …]

12345678910>>...42