Home
last modified time | relevance | path

Searched +full:remove +full:- +full:item (Results 1 – 25 of 27) sorted by relevance

12

/qemu/.gitlab-ci.d/
H A Dwindows.yml1 msys2-64bit:
4 - saas-windows-medium-amd64
8 - msys64/var/cache
9 - ccache
20 CONFIGURE_ARGS: --disable-system --enable-tools -Ddebug=false -Doptimization=0
22 GIT_FETCH_EXTRA_FLAGS: --no-tags --prune --quiet
24 name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
27 - build/meson-logs/testlog.txt
29 junit: "build/meson-logs/testlog.junit.xml"
31 - Write-Output "Acquiring msys2.exe installer at $(Get-Date -Format u)"
[all …]
/qemu/scripts/
H A Dmodinfo-generate.py2 # -*- coding: utf-8 -*-
18 for item in line.split():
19 if item == "MODINFO_START":
22 if item.startswith("MODINFO_END"):
26 kind = item
31 data += " " + item
41 if line.find("MODINFO_START") != -1:
73 print("/* generated by scripts/modinfo-generate.py */")
83 if len(args) < 3 or args[0] != '--devices':
84 print('Expected: modinfo-generate.py --devices '
[all …]
H A Ddecodetree.py50 re_C_ident = '[a-zA-Z][a-zA-Z0-9_]*'
53 re_arg_ident = '&[a-zA-Z0-9_]*'
54 re_fld_ident = '%[a-zA-Z0-9_]*'
55 re_fmt_ident = '@[a-zA-Z0-9_]*'
56 re_pat_ident = '[a-zA-Z0-9_]*'
70 # (That is, if graph contains "A" -> ["B", "C"] then we must output
85 # https://code.activestate.com/recipes/578272-topological-sort/
112 - set(data.keys()))
114 data.update({item:{} for item in extra_items_in_deps})
116 ordered = set(item for item, dep in data.items() if not dep)
[all …]
H A Dkernel-doc2 # SPDX-License-Identifier: GPL-2.0-only
10 ## Copyright (C) 2005-2012 Randy Dunlap ##
19 # 18/01/2001 - Cleanups
22 # -- huggie@earth.li
24 # 27/06/2001 - Allowed whitespace after initial "/**" and
26 # -- Christian Kreibich <ck@whoop.org>
29 # - add perldoc documentation
30 # - Look more closely at some of the scarier bits :)
32 # 26/05/2001 - Support for separate source and object trees.
36 # 23/09/2001 - Added support for typedefs, structs, enums and unions
[all …]
/qemu/
H A Dcpu-common.c2 * CPU thread main loop - common bits for user and system mode emulation
4 * Copyright (c) 2003-2005 Fabrice Bellard
21 #include "qemu/main-loop.h"
22 #include "exec/cpu-common.h"
25 #include "trace/trace-root.h"
66 if (some_cpu->cpu_index >= max_cpu_index) { in cpu_get_free_index()
67 max_cpu_index = some_cpu->cpu_index + 1; in cpu_get_free_index()
86 if (cpu->cpu_index == UNASSIGNED_CPU_INDEX) { in cpu_list_add()
88 cpu->cpu_index = cpu_get_free_index(); in cpu_list_add()
89 assert(cpu->cpu_index != UNASSIGNED_CPU_INDEX); in cpu_list_add()
[all …]
H A Dhmp-commands.hx27 .help = "commit changes to the disk images (if -snapshot is used) or backing files",
33 Commit changes to the disk images (if -snapshot is used) or backing files.
70 available during the preconfig state (i.e. when the --preconfig command
122 .args_type = "force:-f,device:B",
123 .params = "[-f] device",
124 .help = "stop an active background block operation (use -f"
181 .args_type = "force:-f,device:B",
182 .params = "[-f] device",
183 .help = "eject a removable medium (use -f to force it)",
188 ``eject [-f]`` *device*
[all …]
H A Dqemu-options.hx14 "-h or -help display this help and exit\n", QEMU_ARCH_ALL)
16 ``-h``
21 "-version display version information and exit\n", QEMU_ARCH_ALL)
23 ``-version``
28 "-machine [type=]name[,prop[=value][,...]]\n"
29 " selects emulated machine ('-machine help' for list)\n"
33 " dump-guest-core=on|off include guest memory in a core dump (default=on)\n"
34 " mem-merge=on|off controls memory merge support (default: on)\n"
35 " aes-key-wrap=on|off controls support for AES key wrapping (default=on)\n"
36 " dea-key-wrap=on|off controls support for DEA key wrapping (default=on)\n"
[all …]
/qemu/tests/image-fuzzer/
H A Drunner.py40 "'--config' and '--command' options are not supported.", file=sys.stderr)
96 return -term_signal
117 The test log will include application (e.g. 'qemu-img') logs besides info
125 Path to qemu-img and qemu-io will be retrieved from 'QEMU_IMG' and
136 self.current_dir = os.path.join(work_dir, 'test-' + test_id)
138 os.environ.get('QEMU_IMG', 'qemu-img').strip().split(' ')
139 self.qemu_io = os.environ.get('QEMU_IO', 'qemu-io').strip().split(' ')
140 self.commands = [['qemu-img', 'check', '-f', 'qcow2', '$test_img'],
141 ['qemu-img', 'info', '-f', 'qcow2', '$test_img'],
142 ['qemu-io', '$test_img', '-c', 'read $off $len'],
[all …]
/qemu/util/
H A Dreserved-region.c22 #include "qemu/reserved-region.h"
27 Range *r = &reg->range; in resv_region_list_insert()
32 resv_iter = (ReservedRegion *)l->data; in resv_region_list_insert()
33 range_iter = &resv_iter->range; in resv_region_list_insert()
37 l = l->next; in resv_region_list_insert()
42 /* new range contains current item, simply remove this latter */ in resv_region_list_insert()
43 GList *prev = l->prev; in resv_region_list_insert()
44 g_free(l->data); in resv_region_list_insert()
47 l = prev->next; in resv_region_list_insert()
61 range_lob(r) - 1); in resv_region_list_insert()
[all …]
H A Dqtree.c2 * GLIB - Library of useful routines for C programming
3 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
5 * SPDX-License-Identifier: LGPL-2.1-or-later
22 * Modified by the GLib Team and others 1997-2000. See the AUTHORS
36 * SECTION:trees-binary
53 * To remove a key/value pair use q_tree_remove() (O(n log(n))).
73 * [balanced binary tree][glib-Balanced-Binary-Trees]. It should be
91 gint8 balance; /* height (right) - height (left) */
124 node->balance = 0; in q_tree_node_new()
125 node->left = NULL; in q_tree_node_new()
[all …]
H A Dhbitmap.c9 * later. See the COPYING file in the top-level directory.
14 #include "qemu/host-utils.h"
25 * granularity; in all levels except the last, bit N is set iff the N-th
27 * completes on the last level it can examine the 2nd-last level to quickly
29 * powers thereof (32 on 32-bit machines).
32 * this (for the 64-bit case):
34 * bits 0-57 => word in the last bitmap | bits 58-63 => bit in the word
35 * bits 0-51 => word in the 2nd-last bitmap | bits 52-57 => bit in the word
36 * bits 0-45 => word in the 3rd-last bitmap | bits 46-51 => bit in the word
52 * O(logB n) as in the non-amortized complexity).
[all …]
H A Drcu.c2 * urcu-mb.c
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
33 #include "qemu/main-loop.h"
87 qatomic_set(&index->waiting, true); in wait_for_readers()
90 /* Here, order the stores to index->waiting before the loads of in wait_for_readers()
91 * index->ctr. Pairs with smp_mb_placeholder() in rcu_read_unlock(), in wait_for_readers()
92 * ensuring that the loads of index->ctr are sequentially consistent. in wait_for_readers()
96 * on architectures with 32-bit longs; see synchronize_rcu(). in wait_for_readers()
101 if (!rcu_gp_ongoing(&index->ctr)) { in wait_for_readers()
108 qatomic_set(&index->waiting, false); in wait_for_readers()
[all …]
H A Dvfio-helpers.c4 * Copyright 2016 - 2018 Red Hat, Inc.
10 * See the COPYING file in the top-level directory.
18 #include "exec/cpu-common.h"
21 #include "qemu/error-report.h"
22 #include "standard-headers/linux/pci_regs.h"
24 #include "qemu/vfio-helpers.h"
65 * --------------- <= 0
67 * |-------------| <= QEMU_VFIO_IOVA_MIN
71 * |-------------| <= low_water_mark
75 * |-------------| <= high_water_mark
[all …]
H A Dqht.c2 * qht.c - QEMU Hash Table, designed to scale for read-mostly workloads.
7 * See the COPYING file in the top-level directory.
10 * - NULL cannot be inserted/removed as a pointer value.
11 * - Trying to insert an already-existing hash-pointer pair is OK. However,
12 * it is not OK to insert into the same hash table different hash-pointer
14 * - Lookups are performed under an RCU read-critical section; removals
18 * - Reads (i.e. lookups and iterators) can be concurrent with other reads.
22 * - Writes (i.e. insertions/removals) can be concurrent with writes to
24 * - Optional auto-resizing: the hash table resizes up if the load surpasses
28 * The key structure is the bucket, which is cacheline-sized. Buckets
[all …]
/qemu/tests/image-fuzzer/qcow2/
H A Dlayout.py159 free_space = self.cluster_size - self.ext_offset - \
168 self.cluster_size - len(backing_file_name)
189 (self.cluster_size - 1)) - \
191 free_space = high_border - self.ext_offset
197 ext_padding_len = 7 - (ext_data_len - 1) % 8
221 (self.cluster_size - 1)) - \
223 free_space = high_border - self.ext_offset
227 num_fnt_entries = min(10, (free_space - ext_header_len) /
236 # Remove duplicates
294 # Header takes cluster #0, other clusters ##1-3 can be used
[all …]
/qemu/block/
H A Dquorum.c4 * Copyright (C) 2012-2014 Nodalink, EURL.
13 * See the COPYING file in the top-level directory.
25 #include "qapi/qapi-events-block.h"
36 #define QUORUM_OPT_VOTE_THRESHOLD "vote-threshold"
38 #define QUORUM_OPT_REWRITE "rewrite-corrupted"
39 #define QUORUM_OPT_READ_PATTERN "read-pattern"
43 uint8_t h[HASH_LENGTH]; /* SHA-256 hash */
47 /* A vote item */
90 bool rewrite_corrupted;/* true if the driver must rewrite-on-read corrupted
150 g_free(acb->qcrs); in quorum_aio_finalize()
[all …]
/qemu/docs/system/arm/
H A Dorangepi.rst1 Orange Pi PC (``orangepi-pc``)
5 based embedded computer with mainline support in both U-Boot
6 and Linux. The board comes with a Quad Core Cortex-A7 @ 1.3GHz,
15 * SMP (Quad Core Cortex-A7)
20 * Timer device (re-used from Allwinner A10)
36 - Graphical output via HDMI, GPU and/or the Display Engine
37 - Audio output
38 - Hardware Watchdog
41 for a complete list of unimplemented I/O devices: ``./hw/arm/allwinner-h3.c``
46 The Orange Pi PC machine can start using the standard -kernel functionality
[all …]
/qemu/docs/devel/
H A Dqapi-domain.rst6 <https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html>`_
10 <https://www.sphinx-doc.org/en/master/usage/domains/python.html>`_
16 <https://www.sphinx-doc.org/en/master/usage/domains/index.html>`_
17 provides a set of special rST directives and cross-referencing roles to
21 <https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html>`_
31 understanding the cross-referencing syntax *will* be helpful when
64 <https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#field-lists>`_
66 <https://www.sphinx-doc.org/en/master/usage/domains/python.html#info-field-lists>`_
68 example, add cross-references. The QAPI Domain takes advantage of this
81 * May apply cross-reference roles to *either* the argument *or* the
[all …]
/qemu/hw/net/
H A Dsmc91c111.c17 #include "hw/qdev-properties.h"
29 * and control byte (per figure 8-1 in the Microchip Technology
147 if (s->tx_fifo_len == 0) in smc91c111_update()
148 s->int_level |= INT_TX_EMPTY; in smc91c111_update()
149 if (s->tx_fifo_done_len != 0) in smc91c111_update()
150 s->int_level |= INT_TX; in smc91c111_update()
151 level = (s->int_level & s->int_mask) != 0; in smc91c111_update()
152 qemu_set_irq(s->irq, level); in smc91c111_update()
157 if ((s->rcr & RCR_RXEN) == 0 || (s->rcr & RCR_SOFT_RST)) { in smc91c111_can_receive()
160 if (s->allocated == (1 << NUM_PACKETS) - 1 || in smc91c111_can_receive()
[all …]
/qemu/system/
H A Dqdev-monitor.c28 #include "qapi/qapi-commands-qdev.h"
29 #include "qapi/qmp-registry.h"
33 #include "qapi/qobject-input-visitor.h"
34 #include "qemu/config-file.h"
35 #include "qemu/error-report.h"
38 #include "qemu/qemu-print.h"
40 #include "system/block-backend.h"
43 #include "hw/qdev-properties.h"
76 { "AC97", "ac97" }, /* -soundhw name */
77 { "e1000", "e1000-82540em" },
[all …]
/qemu/monitor/
H A Dhmp.c4 * Copyright (c) 2003-2004 Fabrice Bellard
27 #include "hw/qdev-core.h"
28 #include "monitor-internal.h"
32 #include "qemu/config-file.h"
38 #include "system/block-backend.h"
46 monitor_suspend(&mon->common); in monitor_command_cb()
48 monitor_resume(&mon->common); in monitor_command_cb()
53 if (!mon->rs) { in monitor_read_command()
57 readline_start(mon->rs, "(qemu) ", 0, monitor_command_cb, NULL); in monitor_read_command()
59 readline_show_prompt(mon->rs); in monitor_read_command()
[all …]
/qemu/tests/qemu-iotests/
H A Diotests.py1 # Common utilities and Python wrappers for qemu-iotests
56 qemu_img_args = [os.environ.get('QEMU_IMG_PROG', 'qemu-img')]
60 qemu_io_args = [os.environ.get('QEMU_IO_PROG', 'qemu-io')]
64 qemu_io_args_no_fmt = [os.environ.get('QEMU_IO_PROG', 'qemu-io')]
69 qemu_nbd_prog = os.environ.get('QEMU_NBD_PROG', 'qemu-nbd')
77 qsd_prog = os.environ.get('QSD_PROG', 'qemu-storage-daemon')
105 valgrind_logfile = "--log-file=" + test_dir
111 qemu_valgrind = ['valgrind', valgrind_logfile, '--error-exitcode=99']
115 luks_default_key_secret_opt = 'key-secret=keysec0'
122 logger_name: str, level: int = logging.CRITICAL) -> Iterator[None]:
[all …]
/qemu/hw/hyperv/
H A Dhv-balloon.c2 * QEMU Hyper-V Dynamic Memory Protocol driver
4 * Copyright (C) 2020-2023 Oracle and/or its affiliates.
7 * See the COPYING file in the top-level directory.
11 #include "hv-balloon-internal.h"
13 #include "system/address-spaces.h"
14 #include "exec/cpu-common.h"
17 #include "hw/hyperv/dynmem-proto.h"
18 #include "hw/hyperv/hv-balloon.h"
20 #include "hw/mem/memory-device.h"
21 #include "hw/mem/pc-dimm.h"
[all …]
/qemu/qga/
H A Dqapi-schema.json1 # *-*- Mode: Python -*-*
8 # For locating a particular item, please see the `qapi-qga-index`.
12 # .. qmp-example::
14 # -> ... text sent by client (commands) ...
15 # <- ... text sent by server (command responses and events) ...
21 # :doc:`QEMU Machine Protocol Specification </interop/qmp-spec>`
25 { 'pragma': { 'doc-required': true } }
31 'member-name-exceptions': [
34 # Commands allowed to return a non-dictionary:
35 'command-returns-exceptions': [
[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 */
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 */
82 /* representation as it comprises fields which may be machine- */
89 /* Results are undefined if a badly-formed structure (or a NULL */
95 /* given well-formed operands, even if the value of the operands */
[all …]

12