/qemu/tests/unit/ |
H A D | test-resv-mem.c | 108 in = insert_sorted_range(in, 0x0, 0xFFFF); in check_range_reverse_array() 109 in = insert_sorted_range(in, 0x10000, 0x2FFFF); in check_range_reverse_array() 115 in = insert_sorted_range(in, 0x50000, 0x5FFFF); in check_range_reverse_array() 123 in = insert_sorted_range(in, 0x0, UINT64_MAX); in check_range_reverse_array() 127 in = insert_sorted_range(in, 0x10000, 0x1FFFF); in check_range_reverse_array() 128 in = insert_sorted_range(in, 0x30000, 0x6FFFF); in check_range_reverse_array() 141 in = insert_sorted_range(in, 0x0, UINT64_MAX); in check_range_reverse_array_low_end() 146 in = insert_sorted_range(in, 0x0, 0xFFFF); in check_range_reverse_array_low_end() 152 in = insert_sorted_range(in, 0x0, 0xFFFF); in check_range_reverse_array_low_end() 160 in = insert_sorted_range(in, 0x0, 0xFFFF); in check_range_reverse_array_low_end() [all …]
|
/qemu/target/i386/tcg/sysemu/ |
H A D | excp_helper.c | 88 if (likely(in->haddr)) { in ptw_ldl() 89 return ldl_p(in->haddr); in ptw_ldl() 91 return cpu_ldl_mmuidx_ra(in->env, in->gaddr, in->ptw_idx, ra); in ptw_ldl() 96 if (likely(in->haddr)) { in ptw_ldq() 99 return cpu_ldq_mmuidx_ra(in->env, in->gaddr, in->ptw_idx, ra); in ptw_ldq() 113 cmp = cpu_ldl_mmuidx_ra(in->env, in->gaddr, in->ptw_idx, 0); in ptw_setl_slow() 115 cpu_stl_mmuidx_ra(in->env, in->gaddr, new, in->ptw_idx, 0); in ptw_setl_slow() 185 pte = in->cr3; in mmu_translate() 534 TranslateParams in; in get_physical_address() local 537 in.addr = addr; in get_physical_address() [all …]
|
/qemu/docs/about/ |
H A D | removed-features.rst | 12 ``-hdachs`` (removed in 2.12) 24 ``-net dump`` (removed in 2.12) 39 ``-tdf`` (removed in 2.12) 82 ``-balloon`` (removed in 3.1) 88 ``-bootp`` (removed in 3.1) 96 ``-redir`` (removed in 3.1) 107 ``-smb`` (removed in 3.1) 115 ``-tftp`` (removed in 3.1) 389 ``-sdl`` (removed in 7.1) 458 in this case. [all …]
|
/qemu/audio/ |
H A D | mixeng_template.h | 104 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 135 in += 1; in glue() 142 const struct st_sample *in = src; in glue() local 145 *out++ = glue (clip_, ET) (in->l + in->r); in glue() [all …]
|
H A D | spiceaudio.c | 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() 239 spice_server_remove_interface (&in->sin.base); in line_in_fini() 265 if (in->active) { in line_in_enable() 268 in->active = 1; in line_in_enable() 269 audio_rate_start(&in->rate); in line_in_enable() 270 spice_server_record_start (&in->sin); in line_in_enable() 272 if (!in->active) { in line_in_enable() 275 in->active = 0; in line_in_enable() [all …]
|
/qemu/target/xtensa/ |
H A D | translate.c | 1836 arg[2].in, zero, arg[1].in, arg[0].in); in translate_movcond() 6157 arg32[i0].in = arg[i0].in; in get_f32_o1_i3() 6160 arg32[i1].in = arg[i1].in; in get_f32_o1_i3() 6470 arg[0].in, arg[1].in, arg[2].in); in translate_fpu2k_madd_s() 6556 arg[0].in, arg[1].in, arg[2].in); in translate_fpu2k_msub_s() 7004 arg[0].in, arg[1].in, arg[2].in); in translate_madd_d() 7012 arg[0].in, arg[1].in, arg[2].in); in translate_madd_s() 7018 arg32[0].in, arg32[1].in, arg32[2].in); in translate_madd_s() 7048 arg[0].in, arg[1].in, arg[2].in); in translate_msub_d() 7056 arg[0].in, arg[1].in, arg[2].in); in translate_msub_s() [all …]
|
/qemu/qapi/ |
H A D | audio.json | 57 # @in: options of the capture stream 95 # @in: options of the capture stream 114 # @in: options of the capture stream 151 # @in: options of the capture stream 167 # @in: options of the capture stream 221 # @in: options of the capture stream 259 # @in: options of the capture stream 314 # @in: options of the capture stream 358 # @in: options of the capture stream 389 # @in: options of the recording stream [all …]
|
/qemu/crypto/ |
H A D | cipher-builtin.c.inc | 2 * QEMU Crypto cipher built-in algorithms 64 const uint8_t *in) 70 AES_encrypt(in, out, &ctx->enc); 71 in += AES_BLOCK_SIZE; 86 AES_decrypt(in, out, &ctx->dec); 87 in += AES_BLOCK_SIZE; 105 tmp[n] = in[n] ^ ivec[n]; 110 in += AES_BLOCK_SIZE; 126 memcpy(tmp, in, AES_BLOCK_SIZE); 127 AES_decrypt(in, out, key); [all …]
|
H A D | akcipher.c | 50 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 D | afsplit.c | 64 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/interop/ |
H A D | parallels.txt | 7 See the COPYING file in the top-level directory. 16 All numbers in a Parallels expandable image are stored in little-endian byte 24 Cluster A data chunk of the size specified in the image header. 52 Cluster size, in sectors. 55 Disk size, in clusters (BAT size). 58 Disk size, in sectors. 62 cleared in this case. 115 and in sectors for "WithoutFreeSpace" images. 179 The size of the following feature data, in bytes. 229 offset (in 512b sectors). Given an offset in bytes into the bitmap data the [all …]
|
H A D | qmp-spec.rst | 5 later. See the COPYING file in the top-level directory. 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 38 output encoded in ASCII. 41 be in a certain order. However, in real protocol usage they can be in 146 the client should have at most eight in-band commands in flight. 222 occurred in the Server. It is a fixed json-object with time in 344 advertised in the `Server Greeting`_ which they support. 374 to any existing command in newer versions of the Server 377 and may be withdrawn or changed in an incompatible manner in a future [all …]
|
H A D | qcow2.txt | 10 All numbers in qcow2 are stored in Big Endian byte order. 49 Virtual disk size in bytes. 263 in the same image. 310 point in time. 446 in the image file. 489 bit in this context. 499 exactly one cluster in size. 690 in nanoseconds 693 taken in nanoseconds 749 Each bitmap saved in the image is described in a bitmap directory entry. The [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 219.out | 10 Pause/resume in RUNNING 39 {"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… 44 {"error": {"class": "GenericError", "desc": "Job 'job0' in state 'running' cannot accept command ve… 51 Pause/resume in READY 81 {"error": {"class": "GenericError", "desc": "Job 'job0' in state 'ready' cannot accept command verb… 83 {"error": {"class": "GenericError", "desc": "Job 'job0' in state 'ready' cannot accept command verb… 100 Pause/resume in RUNNING 153 Pause/resume in RUNNING 214 Pause/resume in RUNNING [all …]
|
/qemu/block/export/ |
H A D | virtio-blk-handler.c | 139 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/hw/gpio/ |
H A D | nrf51_gpio.c | 80 bool connected_out, dir, connected_in, out, in, input; in update_state() local 88 in = extract32(s->in, i, 1); in update_state() 95 s->in = deposit32(s->in, i, 1, pull); in update_state() 98 if (connected_out && connected_in && out != in) { in update_state() 105 if ((detect_config == 2) && (in == 1)) { in update_state() 108 if ((detect_config == 3) && (in == 0)) { in update_state() 122 s->in = deposit32(s->in, i, 1, out); in update_state() 160 r = s->in; in nrf51_gpio_read() 256 s->in = deposit32(s->in, line, 1, value != 0); in nrf51_gpio_set() 270 s->in = 0; in nrf51_gpio_reset() [all …]
|
/qemu/docs/devel/ |
H A D | docs.rst | 6 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 20 to be included in the HTML or manpage documentation 44 ``DEFHEADING()`` defines a heading that should appear in both the 45 ``--help`` output and in the documentation. This directive should 46 be in the C code block. If there is a string inside the brackets, 48 a blank line in the ``--help`` output and is ignored for the rST 53 into QEMU. This should be avoided in new documentation. [all …]
|
H A D | clocks.rst | 1 Modelling a clock tree in QEMU 8 distribution of clocks in QEMU. 32 +---------+ | | | (in) | | (out) | | | | (in) | | 65 clocks in the tree. 71 - ``_hz`` for handling frequencies in hertz 244 | | (out) | | | | (in) | | | | (in) | | (out) | | | (out) | | 377 the result of this function could in theory be too large to fit in 388 in those calculations, of course.) 411 in init phase: 432 * and in the enter phase of reset. [all …]
|
H A D | build-system.rst | 82 replacement in Meson is ``find_program()``. 132 in the ``pyvenv`` directory in the build tree, and provides consistency 133 in how the build process runs Python code. 190 (absent in Ubuntu 20.04). 223 though that might change in the future. 246 correctly in the command line. 256 ``system_ss`` only in system emulators, ``user_ss`` only in user-mode 263 in the ``specific_ss`` sourceset. 314 linked in some binaries, sometimes it requires hooks only in some of 373 in ``meson_options.txt``:: [all …]
|
H A D | kconfig.rst | 17 are included in QEMU's source code. As a result, each QEMU executable 24 * new targets and boards can be added without knowing in detail the 37 originated in the Linux kernel, though it was heavily simplified and 38 the handling of dependencies is stricter in QEMU. 56 falsehood is written ``n``. They are defined in a Kconfig 139 declares its dependencies in different ways: 149 and are never visible in ``default-configs/*.mak`` files. It's 255 files, and often not even in the Makefile. 283 or commenting out lines in the second group. 300 fail, but should never abort. Failures in ``make check`` with [all …]
|
/qemu/migration/ |
H A D | multifd-zstd.c | 30 ZSTD_inBuffer in; member 135 z->in.src = p->pages->block->host + pages->offset[i]; in zstd_send_prepare() 136 z->in.size = p->page_size; in zstd_send_prepare() 137 z->in.pos = 0; in zstd_send_prepare() 149 } while (ret > 0 && (z->in.size - z->in.pos > 0) in zstd_send_prepare() 151 if (ret > 0 && (z->in.size - z->in.pos > 0)) { in zstd_send_prepare() 276 z->in.src = z->zbuff; in zstd_recv() 277 z->in.size = in_size; in zstd_recv() 278 z->in.pos = 0; in zstd_recv() 295 ret = ZSTD_decompressStream(z->zds, &z->out, &z->in); in zstd_recv() [all …]
|
/qemu/chardev/ |
H A D | char-file.c | 48 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/docs/specs/ |
H A D | acpi_erst.rst | 6 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 42 capture kernel panic information in a wide range of guests: from 101 The backend storage is divided into fixed size "slots", 8KiB in 119 shows two records (in CPER format) in the backend storage, while the 144 All fields in the header are stored in little endian format. 177 CPER record in the corresponding slot. Stated differently, the [all …]
|
/qemu/scripts/coccinelle/ |
H A D | errp-guard.cocci | 10 // 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). 106 // control flow we may have several (in total) Error * definitions in 133 // Warn when several propagations are in the control flow. 231 // the same name in different blocks inside one function, and in one 242 // propagation to original errp (consider ERRP_GUARD in use). [all …]
|
/qemu/docs/system/ |
H A D | images.rst | 19 where myimage.img is the disk image filename and mysize is its size in 20 kilobytes. You can add an ``M`` suffix to give the size in megabytes and 31 read only. When sectors in written, they are written in a temporary file 32 created in ``/tmp``. You can however force the write back to the raw 33 disk images by using the ``commit`` monitor command (or C-a s in the 49 snapshot in addition to its numerical ID. 63 A VM snapshot is made of a VM state info (its size is shown in 65 state info is stored in the first ``qcow2`` non removable and writable 66 block device. The disk image snapshots are stored in every disk image. 67 The size of a snapshot in a disk image is difficult to evaluate and is [all …]
|