Home
last modified time | relevance | path

Searched refs:in (Results 1 – 25 of 926) sorted by relevance

12345678910>>...38

/qemu/tests/unit/
H A Dtest-resv-mem.c69 static void reset(GList **in, GList **out, GList **expected) in reset() argument
71 g_list_free_full(*in, g_free); in reset()
74 *in = NULL; in reset()
80 run_range_inverse_array(const char *prefix, GList **in, GList **expected, in run_range_inverse_array() argument
84 range_inverse_array(*in, &out, low, high); in run_range_inverse_array()
86 reset(in, &out, expected); in run_range_inverse_array()
91 GList *in = NULL, *expected = NULL; in check_range_reverse_array() local
95 in = insert_sorted_range(in, 0x10000, UINT64_MAX); in check_range_reverse_array()
97 run_range_inverse_array("test1", &in, &expected, 0x0, UINT64_MAX); in check_range_reverse_array()
101 in = insert_sorted_range(in, 0x10000, 0xFFFFFFFFFFFF); in check_range_reverse_array()
[all …]
/qemu/target/i386/tcg/system/
H A Dexcp_helper.c89 static inline uint32_t ptw_ldl(const PTETranslate *in, uint64_t ra) in ptw_ldl() argument
91 if (likely(in->haddr)) { in ptw_ldl()
92 return ldl_p(in->haddr); in ptw_ldl()
94 return cpu_ldl_mmuidx_ra(in->env, in->gaddr, in->ptw_idx, ra); in ptw_ldl()
97 static inline uint64_t ptw_ldq(const PTETranslate *in, uint64_t ra) in ptw_ldq() argument
99 if (likely(in->haddr)) { in ptw_ldq()
100 return ldq_p(in->haddr); in ptw_ldq()
102 return cpu_ldq_mmuidx_ra(in->env, in->gaddr, in->ptw_idx, ra); in ptw_ldq()
110 static bool ptw_setl_slow(const PTETranslate *in, uint32_t old, uint32_t new) in ptw_setl_slow() argument
114 CPUState *cpu = env_cpu(in->env); in ptw_setl_slow()
[all …]
/qemu/docs/about/
H A Dremoved-features.rst12 ``-hdachs`` (removed in 2.12)
19 ``-net channel`` (removed in 2.12)
24 ``-net dump`` (removed in 2.12)
31 ``-no-kvm-pit`` (removed in 2.12)
34 This was just a dummy option that has been ignored, since the in-kernel PIT
39 ``-tdf`` (removed in 2.12)
43 behaviour that could be changed by this option in qemu-kvm is now the default
47 ``-drive secs=s``, ``-drive heads=h`` & ``-drive cyls=c`` (removed in 3.0)
54 ``-drive serial=``, ``-drive trans=`` & ``-drive addr=`` (removed in 3.0)
60 ``-net ...,vlan=x`` (removed in 3.0)
[all …]
/qemu/audio/
H A Dmixeng_template.h104 IN_T *in = (IN_T *) src; in glue() local
107 out->l = glue (conv_, ET) (*in++); in glue()
108 out->r = glue (conv_, ET) (*in++); in glue()
117 IN_T *in = (IN_T *) src; in glue() local
120 out->l = glue (conv_, ET) (in[0]); in glue()
123 in += 1; in glue()
130 const struct st_sample *in = src; in glue() local
133 *out++ = glue (clip_, ET) (in->l); in glue()
134 *out++ = glue (clip_, ET) (in->r); in glue()
135 in += 1; in glue()
[all …]
H A Dspiceaudio.c211 SpiceVoiceIn *in = container_of (hw, SpiceVoiceIn, hw); in line_in_init() local
225 in->active = 0; in line_in_init()
227 in->sin.base.sif = &record_sif.base; in line_in_init()
228 qemu_spice.add_interface(&in->sin.base); in line_in_init()
230 spice_server_set_record_rate(&in->sin, settings.freq); in line_in_init()
237 SpiceVoiceIn *in = container_of (hw, SpiceVoiceIn, hw); in line_in_fini() local
239 spice_server_remove_interface (&in->sin.base); in line_in_fini()
244 SpiceVoiceIn *in = container_of (hw, SpiceVoiceIn, hw); in line_in_read() local
245 uint64_t to_read = audio_rate_get_bytes(&in->rate, &hw->info, len) >> 2; in line_in_read()
246 size_t ready = spice_server_record_get_samples(&in->sin, buf, to_read); in line_in_read()
[all …]
/qemu/target/xtensa/
H A Dtranslate.c561 tcg_gen_brcondi_i32(TCG_COND_NE, arg[2].in, 0, label); in gen_zero_check()
604 struct opcode_arg_info in[MAX_OPCODE_ARGS]; member
646 if (a->out[i].resource < b->in[j].resource) { in op_depends_on()
648 } else if (a->out[i].resource > b->in[j].resource) { in op_depends_on()
681 if (a->out[i].resource < b->in[j].resource) { in break_dependency()
683 } else if (a->out[i].resource > b->in[j].resource) { in break_dependency()
686 int index = b->in[j].index; in break_dependency()
692 copy[n].resource = b->in[j].resource; in break_dependency()
721 unsigned in[MAX_INSN_SLOTS]; in tsort() local
750 in[n_in] = i; in tsort()
[all …]
/qemu/qapi/
H A Daudio.json7 # See the COPYING file in the top-level directory.
38 # @buffer-length: the buffer length in microseconds
57 # @in: options of the capture stream
65 '*in': 'AudiodevPerDirectionOptions',
73 # @in: options of the capture stream
84 '*in': 'AudiodevPerDirectionOptions',
96 # @period-length: the period length in microseconds
115 # @in: options of the capture stream
119 # @threshold: set the threshold (in microseconds) when playback starts
125 '*in': 'AudiodevAlsaPerDirectionOptions',
[all …]
/qemu/docs/interop/
H A Dparallels.rst9 See the COPYING file in the top-level directory.
18 All numbers in a Parallels expandable image are stored in little-endian byte
29 A data chunk of the size specified in the image header.
57 Cluster size, in sectors.
60 Disk size, in clusters (BAT size).
63 Disk size, in sectors.
67 cleared in this case.
73 Set to 0x746F6E59 when the image is opened by software in R/W
76 A zero in this field means that the image was opened by an old
83 An offset, in sectors, from the start of the file to the start of
[all …]
H A Dqmp-spec.rst5 later. See the COPYING file in the top-level directory.
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`.
29 JSON data structures, when mentioned in this document, are always in the
37 The server expects its input to be encoded in UTF-8, and sends its
38 output encoded in ASCII.
40 For convenience, json-object members mentioned in this document will
41 be in a certain order. However, in real protocol usage they can be in
48 ``'single-quoted'`` strings in place of the usual ``"double-quoted"``
80 baseline specification; the order of elements in this array has no
[all …]
/qemu/tests/qemu-iotests/
H A D219.out10 Pause/resume in RUNNING
39 {"error": {"class": "GenericError", "desc": "Job 'job0' in state 'running' cannot accept command ve…
40 {"error": {"class": "GenericError", "desc": "Job 'job0' in state 'running' cannot accept command ve…
41 {"error": {"class": "GenericError", "desc": "Job 'job0' in state 'running' cannot accept command ve…
42 {"error": {"class": "GenericError", "desc": "Job 'job0' in state 'running' cannot accept command ve…
43 {"error": {"class": "GenericError", "desc": "Job 'job0' in state 'running' cannot accept command ve…
44 {"error": {"class": "GenericError", "desc": "Job 'job0' in state 'running' cannot accept command ve…
51 Pause/resume in READY
80 {"error": {"class": "GenericError", "desc": "Job 'job0' in state 'ready' cannot accept command verb…
81 {"error": {"class": "GenericError", "desc": "Job 'job0' in state 'ready' cannot accept command verb…
[all …]
/qemu/block/export/
H A Dvirtio-blk-handler.c139 struct virtio_blk_inhdr *in; in virtio_blk_process_req() local
164 in = (void *)in_iov[in_num - 1].iov_base in virtio_blk_process_req()
180 in->status = VIRTIO_BLK_S_IOERR; in virtio_blk_process_req()
193 in->status = VIRTIO_BLK_S_IOERR; in virtio_blk_process_req()
205 in->status = VIRTIO_BLK_S_OK; in virtio_blk_process_req()
207 in->status = VIRTIO_BLK_S_IOERR; in virtio_blk_process_req()
213 in->status = VIRTIO_BLK_S_OK; in virtio_blk_process_req()
215 in->status = VIRTIO_BLK_S_IOERR; in virtio_blk_process_req()
223 in->status = VIRTIO_BLK_S_OK; in virtio_blk_process_req()
229 in->status = VIRTIO_BLK_S_IOERR; in virtio_blk_process_req()
[all …]
/qemu/migration/
H A Dmultifd-zstd.c30 ZSTD_inBuffer in; member
112 z->in.src = pages->block->host + pages->offset[i]; in multifd_zstd_send_prepare()
113 z->in.size = multifd_ram_page_size(); in multifd_zstd_send_prepare()
114 z->in.pos = 0; in multifd_zstd_send_prepare()
125 ret = ZSTD_compressStream2(z->zcs, &z->out, &z->in, flush); in multifd_zstd_send_prepare()
126 } while (ret > 0 && (z->in.size > z->in.pos) in multifd_zstd_send_prepare()
128 if (ret > 0 && (z->in.size > z->in.pos)) { in multifd_zstd_send_prepare()
226 z->in.src = z->zbuff; in multifd_zstd_recv()
227 z->in.size = in_size; in multifd_zstd_recv()
228 z->in.pos = 0; in multifd_zstd_recv()
[all …]
/qemu/hw/gpio/
H A Dnrf51_gpio.c79 bool connected_out, dir, connected_in, out, in, input; in update_state() local
87 in = extract32(s->in, i, 1); in update_state()
94 s->in = deposit32(s->in, i, 1, pull); in update_state()
97 if (connected_out && connected_in && out != in) { in update_state()
104 if ((detect_config == 2) && (in == 1)) { in update_state()
107 if ((detect_config == 3) && (in == 0)) { in update_state()
121 s->in = deposit32(s->in, i, 1, out); in update_state()
159 r = s->in; in nrf51_gpio_read()
255 s->in = deposit32(s->in, line, 1, value != 0); in nrf51_gpio_set()
269 s->in = 0; in nrf51_gpio_reset()
[all …]
/qemu/docs/devel/
H A Ddocs.rst6 QEMU's documentation is written in reStructuredText format and
14 (HMP) commands is written in files with the ``.hx`` suffix. These
15 are processed in two ways:
18 in QEMU to do things like handle the ``--help`` option output
19 * a Sphinx extension in ``docs/sphinx/hxtool.py`` generates rST output
20 to be included in the HTML or manpage documentation
28 text after the marker, is discarded and appears neither in the C output
34 referenced from elsewhere in the rST documentation. The label will take
44 ``DEFHEADING()`` defines a heading that should appear in both the
45 ``--help`` output and in the documentation. This directive should
[all …]
H A Drust.rst3 Rust in QEMU
6 Rust in QEMU is a project to enable using the Rust programming language
10 from ``SysBusDevice`` in `*safe*`__ Rust. Later, it may become possible
16 Building the Rust in QEMU code
19 The Rust in QEMU code is included in the emulators via Meson. Meson
32 tasks, in particular to invoke ``clippy``, ``rustfmt`` and ``rustdoc``.
35 generated sources from QEMU's build directory and puts it in Cargo's
38 which can be fixed in different ways:
46 A target for ``rustfmt`` is also declared in ``rus
[all...]
H A Dclocks.rst1 Modelling a clock tree in QEMU
8 distribution of clocks in QEMU.
11 configuration errors in the clock tree such as badly configured PLL, clock
14 The object is *Clock* and its QOM name is ``clock`` (in C code, the macro
18 and outputs. They are created in a similar way to GPIOs. Inputs and outputs
32 +---------+ | | | (in) | | (out) | | | | (in) | |
40 | | | (out) | | | | (in) | |
45 | | (in) | |
49 Clocks are defined in the ``include/hw/clock.h`` header and device
50 related functions are defined in the ``include/hw/qdev-clock.h``
[all …]
/qemu/docs/specs/
H A Driscv-aia.rst6 AIA (Advanced Interrupt Architecture) support is implemented in the ``virt``
18 emulated in userspace versus what is being emulated by an in-kernel irqchip.
20 When running TCG, all controllers are emulated in userspace, including machine mode
29 is provided there will be no APLIC or IMSIC emulation in userspace, and the virtual
30 machine will use the provided in-kernel APLIC and IMSIC controllers. If the user
31 chooses to use the irqchip in split mode via "-accel kvm,kernel-irqchip=split",
35 we will emulate in userspace:
75 - in-kernel
76 - in-kernel
83 - in-kernel
H A Dacpi_erst.rst6 storing error records in persistent storage for future reference
9 The ACPI specification[1], in Chapter "ACPI Platform Error Interfaces
13 The format of error records is described in the UEFI specification[2],
14 in Appendix N "Common Platform Error Record".
21 operations in order to update its contents). Furthermore, as of the
36 and UEFI. Most BIOS implement ACPI ERST. UEFI is not utilized in all
42 capture kernel panic information in a wide range of guests: from
43 resource-constrained microvms to very large guests, and in particular,
44 in direct-boot environments (which would lack UEFI run-time services).
75 - record_size: Specifies the size of the records (or slots) in the
[all …]
/qemu/docs/devel/migration/
H A Dvfio.rst8 devices is done in QEMU.
15 helps to reduce the total downtime of the VM. VFIO devices opt-in to pre-copy
16 support by reporting the VFIO_MIGRATION_PRE_COPY flag in the
22 and recommends that the initial bytes are sent and loaded in the destination
28 While in the P2P quiescent state, P2P DMA transactions cannot be initiated by
42 A detailed description of the UAPI for VFIO device migration can be found in
43 the comment for the ``vfio_device_mig_state`` structure in the header file
50 * A ``load_setup`` function that sets the VFIO device on the destination in
62 active only when the VFIO device is in pre-copy states.
70 * A ``switchover_start`` function that in the multifd mode starts a thread that
[all …]
/qemu/chardev/
H A Dchar-file.c48 if (file->in) { in qmp_chardev_open_file()
72 int flags, in = -1, out; in qmp_chardev_open_file() local
86 if (file->in) { in qmp_chardev_open_file()
88 in = qmp_chardev_open_file_source(file->in, flags, errp); in qmp_chardev_open_file()
89 if (in < 0) { in qmp_chardev_open_file()
95 qemu_chr_open_fd(chr, in, out); in qmp_chardev_open_file()
120 file->in = g_strdup(inpath); in qemu_chr_parse_file_out()
/qemu/crypto/
H A Dakcipher.c50 const void *in, size_t in_len, in qcrypto_akcipher_encrypt() argument
55 return drv->encrypt(akcipher, in, in_len, out, out_len, errp); in qcrypto_akcipher_encrypt()
59 const void *in, size_t in_len, in qcrypto_akcipher_decrypt() argument
64 return drv->decrypt(akcipher, in, in_len, out, out_len, errp); in qcrypto_akcipher_decrypt()
68 const void *in, size_t in_len, in qcrypto_akcipher_sign() argument
73 return drv->sign(akcipher, in, in_len, out, out_len, errp); in qcrypto_akcipher_sign()
77 const void *in, size_t in_len, in qcrypto_akcipher_verify() argument
82 return drv->verify(akcipher, in, in_len, in2, in2_len, errp); in qcrypto_akcipher_verify()
H A Dafsplit.c64 struct iovec in[] = { in qcrypto_afsplit_hash() local
72 in, in qcrypto_afsplit_hash()
73 G_N_ELEMENTS(in), in qcrypto_afsplit_hash()
91 const uint8_t *in, in qcrypto_afsplit_encode() argument
113 in, in qcrypto_afsplit_encode()
123 const uint8_t *in, in qcrypto_afsplit_decode() argument
132 in + (i * blocklen), in qcrypto_afsplit_decode()
142 in + (i * blocklen), in qcrypto_afsplit_decode()
/qemu/docs/devel/testing/
H A Dacpi-bits.rst13 operating system getting involved in between. Bios-bits has python integration
14 with grub so actual routines that executes bios components can be written in
16 There are several advantages to directly testing the bios in a real physical
17 machine or in a VM as opposed to indirectly discovering bios issues through the
21 complicated software component such as an operating system coming in between.
23 SMBIOS without being in the highest hardware privilege level, ring 0 for
24 example in case of x86. Since the OS executes from ring 0 whereas normal user
25 land software resides in unprivileged ring 3, operating system must be modified
26 in order to write our test routines that exercise and test the bios. This is
27 not possible in all cases. Lastly, test frameworks and routines are preferably
[all …]
/qemu/hw/cxl/
H A Dcxl-mailbox-utils.c152 } QEMU_PACKED *in; in cmd_tunnel_management_cmd() local
162 if (cmd->in < sizeof(*in)) { in cmd_tunnel_management_cmd()
165 in = (void *)payload_in; in cmd_tunnel_management_cmd()
168 if (len_in < sizeof(*in)) { in cmd_tunnel_management_cmd()
172 if (in->size < sizeof(in->ccimessage)) { in cmd_tunnel_management_cmd()
176 if (in->size != len_in - offsetof(typeof(*out), ccimessage)) { in cmd_tunnel_management_cmd()
179 if (in->ccimessage.category != CXL_CCI_CAT_REQ) { in cmd_tunnel_management_cmd()
183 if (in->target_type != 0) { in cmd_tunnel_management_cmd()
198 if (in->port_or_ld_id != 0) { in cmd_tunnel_management_cmd()
207 in->port_or_ld_id); in cmd_tunnel_management_cmd()
[all …]
/qemu/scripts/coccinelle/
H A Derrp-guard.cocci10 // This program is distributed in the hope that it will be useful,
21 // --macro-file scripts/cocci-macro-file.h --in-place \
27 // which in turn produces extra patch hunks for no reason.
41 @ depends on !(file in "util/error.c") disable optional_qualifier@
65 // double error_prepend in control flow like in
70 // standard pattern when error_propagate() call is in if branch).
101 // Warn when several Error * definitions are in the control flow.
105 // Note, that even with one (or zero) Error * definition in the each
106 // control flow we may have several (in total) Error * definitions in
133 // Warn when several propagations are in the control flow.
[all …]

12345678910>>...38