/qemu/docs/system/arm/ |
H A D | orangepi.rst | 41 for a complete list of unimplemented I/O devices: ``./hw/arm/allwinner-h3.c`` 47 for loading a Linux kernel or ELF executable. Additionally, the Orange Pi PC 63 base year value. The minimum value for the base year is 1900. 68 For example, U-Boot uses it to determine a unique MAC address. 71 via the '-global' argument, for example: 124 Another possibility is to run an Armbian image for Orange Pi PC which 130 using the orangepi_pc_defconfig. Also see https://buildroot.org for more information. 134 instead of shrinking it to a power of two, to avoid loss of data. For example, 143 For example, to boot using the Orange Pi PC Debian image on SD card, simply add the -sd 186 using similar commands as describe above for Linux. Note that it is recommended [all …]
|
/qemu/include/migration/ |
H A D | register.h | 51 * Returns zero to indicate success and negative for error 65 * Returns zero to indicate success and negative for error 83 * Called at the end of postcopy for all postcopyable devices. 88 * Returns zero to indicate success and negative for error 95 * Transmits the last section for the device containing any 104 * Returns zero to indicate success and negative for error 123 * Returns true to indicate success and false for errors. 147 * Returns true for postcopy support else false 157 * For example, it is needed for only-postcopy-states, which needs 262 * Returns zero to indicate success and negative for error [all …]
|
/qemu/include/qemu/ |
H A D | coroutine.h | 24 * Coroutines are a mechanism for stack switching and can be used for 26 * useful flavor of coroutines that is suitable for writing sequential code, 27 * rather than callbacks, for operations that need to give up control while 28 * waiting for events to complete. 34 * functions. For example: 50 /* Count of pending lockers; 0 for a free mutex, 1 for an 82 * the pointer for any other coroutine. in qemu_co_mutex_assert_locked() 176 /* Number of readers, or -1 if owned for writing. */ 209 * may also sometimes be necessary for correctness. 222 * waiting for this lock to be run. [all …]
|
/qemu/scripts/qapi/ |
H A D | schema.py | 81 # For explicitly defined entities, info points to the (explicit) 82 # definition. For builtins (and their arrays), info is None. 83 # For implicitly defined entities, info points to a place that 127 for f in features or []: 145 for f in self.features: 152 for f in self.features: 301 The built-in module is a single System module for the built-in types. 312 for entity in self._entity_list: 328 # Return the C type for common use. 329 # For the types we commonly box, this is a pointer type. [all …]
|
/qemu/qapi/ |
H A D | migration.json | 41 # @page-size: The number of bytes per page for the various page-based 145 # @postcopy-recover-setup: setup phase for a postcopy recovery 146 # process, preparing for a recovery phase to start. (since 9.1) 156 # this state unless colo capability is enabled for migration. 164 # always be present for every migration procedure as the switchover 167 # @wait-unplug: wait for device unplug request by guest OS to be 212 # downtime in milliseconds for the guest. (since 1.3) 215 # downtime in milliseconds for the guest in last walk of the dirty 239 # @socket-address: Only used for tcp, to know what the real port is 257 # (in microseconds) for each dirty ring full round. The value [all …]
|
/qemu/docs/devel/migration/ |
H A D | compatibility.rst | 33 except for a few cases where the backend features influence frontend 34 device feature exposure. But that is not relevant for this section. 47 Exactly the same case than the previous one, but for 5.1. 55 the latest machine type for that version (pc-5.2) but one of an older 102 qemu-5.2 has to expect that it is not going to get data for the new 110 that array to see what value it needs to get for that feature. And 113 To create a property for a device, we need to use one of the 115 macros that exist. With it, we set the default value for that 117 version. But if we want a different value for a previous version, we 135 put the extra information for the other 3 queues, and we fail [all …]
|
/qemu/tests/qtest/ |
H A D | tpm-tis-util.c | 2 * QTest testcase for TPM TIS: common test functions used for both 54 for (locty = 0; locty < TPM_TIS_NUM_LOCALITIES; locty++) { in tpm_tis_test_check_localities() 81 for (locty = 0; locty < TPM_TIS_NUM_LOCALITIES - 1; locty++) { in tpm_tis_test_check_access_reg() 104 * Test case for seizing access by a higher number locality 113 for (locty = 0; locty < TPM_TIS_NUM_LOCALITIES - 1; locty++) { in tpm_tis_test_check_access_reg_seize() 128 for (l = 0; l < locty; l++) { in tpm_tis_test_check_access_reg_seize() 179 * set for locality 'l' in tpm_tis_test_check_access_reg_seize() 188 for (l = locty + 1; l < TPM_TIS_NUM_LOCALITIES - 1; l++) { in tpm_tis_test_check_access_reg_seize() 269 for (l = locty - 1; l >= 0; l--) { in tpm_tis_test_check_access_reg_seize() 287 for (l = 0; l < TPM_TIS_NUM_LOCALITIES - 1; l++) { in tpm_tis_test_check_access_reg_seize() [all …]
|
/qemu/docs/devel/ |
H A D | qom.rst | 9 The QEMU Object Model provides a framework for registering user creatable 13 - System for dynamically registering types 14 - Support for single-inheritance of types 18 The root object class is TYPE_OBJECT which provides for the basic 42 // No new virtual functions: we can reuse the typedef for the 69 The TYPE_DEVICE class is the parent class for all modern devices 96 are instantiated dynamically but there is only ever one instance for any 98 for the virtual methods implemented by this type. 127 Before an object is initialized, the class for the object must be 128 initialized. There is only one class object for all instance objects [all …]
|
/qemu/include/hw/ |
H A D | loader.h | 100 * unpacking failed for any reason. 126 * this for non-address data) 127 * @data_swab: Set to order of byte swapping for data. 0 for no swap, 1 128 * for swapping bytes within halfwords, 2 for bytes within 129 * words and 3 for within doublewords. 133 * @sym_cb: Callback function for symbol table entries 139 * @elf_machine give the expected endianness and machine for the ELF the 142 * their particular values for @elf_machine are set. 232 * @max_sz: Maximum allowed ramdisk size (for non-u-boot ramdisks) 279 * useful for undoing a series of rom_add_*() calls if image file loading fails [all …]
|
/qemu/net/ |
H A D | tap-linux.h | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 47 /* Features for GSO (TUNSETOFFLOAD). */ 49 #define TUN_F_TSO4 0x02 /* I can handle TSO for IPv4 packets */ 50 #define TUN_F_TSO6 0x04 /* I can handle TSO for IPv6 packets */ 53 #define TUN_F_USO4 0x20 /* I can handle USO for IPv4 packets */ 54 #define TUN_F_USO6 0x40 /* I can handle USO for IPv6 packets */
|
/qemu/include/hw/misc/ |
H A D | npcm7xx_mft.h | 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 * for more details. 45 * @clock_in: The input clock for MFT from CLK module. 46 * @clock_{1,2}: The counter clocks for NPCM7XX_MFT_CNT{1,2} 47 * @irq: The IRQ for this MFT state. 49 * @max_rpm: The maximum rpm for fans. Order: A0, B0, A1, B1. 50 * @duty: The duty cycles for fans, relative to NPCM7XX_PWM_MAX_DUTY.
|
/qemu/docs/system/ |
H A D | multi-process.rst | 7 For the design document refer to docs/devel/multi-process.rst. 12 multi-process is enabled by default for targets that enable KVM 38 the device and the file descriptor for the device 43 - Example command-line for the remote process is as follows: 59 - A "x-pci-proxy-dev" device is created for each of the PCI devices emulated 62 and should be the same as the "id" specified for the remote PCI device 64 - Example commandline for QEMU is as follows:
|
H A D | gdb.rst | 14 The ``-s`` option will make QEMU listen for an incoming connection 17 TCP port to use or to use something other than TCP for the gdbstub 19 `Using unix sockets`_ for an example.) 25 QEMU will launch but will silently wait for gdb to connect. 35 Then you can use gdb normally. For example, type 'c' to launch the 54 accelerator. For TCG system emulation we advertise an infinite number 55 of hardware assisted breakpoints and watchpoints. For other 60 support for watchpoints. 85 GDB's abstraction for debugging targets with multiple possible 92 heterogeneous and have multiple clusters: for example the ``sifive_u`` [all …]
|
H A D | cpu-models-mips.rst.inc | 6 Supported CPU models for MIPS32 hosts 9 The following CPU models are supported for use on MIPS32 hosts. 38 Supported CPU models for MIPS64 hosts 41 The following CPU models are supported for use on MIPS64 hosts. 82 Supported CPU models for nanoMIPS hosts 85 The following CPU models are supported for use on nanoMIPS hosts. 95 Preferred CPU models for MIPS hosts 98 The following CPU models are preferred for use on different MIPS hosts:
|
/qemu/target/arm/ |
H A D | cpu.h | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 87 /* The usual mapping for an AArch64 system register to its AArch32 88 * counterpart is for the 32 bit world to have access to the lower 101 /* The 2nd extra word holding syndrome info for data aborts does not use 134 /* CPU state for each instance of a generic timer (in cp15 c14) */ 141 * For 32-bit, this is a 128-bit NEON/AdvSIMD register. 142 * For 64-bit, this is a 2048-bit SVE register. 150 * bits 31..0 for even n, and bits 63..32 for odd n 163 * Align the data for use with TCG host vector operations. [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 085 | 20 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 # GNU General Public License for more details. 44 for i in $(seq 1 ${SNAPSHOTS}) 49 for img in "${TEST_IMG}".{1,2,base} 66 # ${1}: unique identifier for the snapshot filename 76 # ${1}: unique identifier for the snapshot filename 92 # ${1}: unique identifier for the snapshot filename 105 # ${1}: unique identifier for the snapshot filename 113 # ${1}: unique identifier for the snapshot filename 121 # ${1}: unique identifier for the snapshot filename [all …]
|
H A D | 136 | 4 # Tests for block device statistics 16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 # GNU General Public License for more details. 51 for r in result['return']: 54 raise Exception("Device not found for blockstats: %s" % device) 88 # Set an initial value for the clock 224 for i in range(rd_ops): 227 for i in range(wr_ops): 230 for i in range(flush_ops): 235 for i in range(invalid_rd_ops): [all …]
|
H A D | 185 | 15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 # GNU General Public License for more details. 99 # BLOCK_JOB_* events for all of the following block jobs. They are predictable 104 # to sleep at least for a second, which is plenty of time for the 'quit' QMP 108 # The buffer size for commit and streaming is 512k (waiting for 8 seconds after 109 # the first request), for active commit and mirror it's large enough to cover 110 # the full 4M, and for backup it's the qcow2 cluster size, which we know is 230 # throttling), wait for READY, then write some data to the device, 232 # (qemu should force-cancel the job and not wait for the data to be 291 # Write something to the device for post-READY mirroring. Write it in [all …]
|
/qemu/hw/intc/ |
H A D | arm_gicv3_redist.c | 19 /* Return a 32-bit mask which should be applied for this set of 32 in mask_group() 25 /* bits for Group 0 or Secure Group 1 interrupts are RAZ/WI */ in mask_group() 33 /* Return the 2 bit NSACR.NS_access field for this SGI */ in gicr_ns_access() 142 * We scan the LPI pending table @ptbase; for each pending LPI, we read the 162 for (i = GICV3_LPI_INTID_START / 8; i < pendt_size / 8; i++) { in update_for_all_lpis() 173 * set_lpi_pending_bit: Set or clear pending bit for an LPI 177 * @irq: LPI to change pending state for 203 /* Read the value of GICR_IPRIORITYR<n> for the specified interrupt, in gicr_read_ipriorityr() 204 * honouring security state (these are RAZ/WI for Group 0 or Secure in gicr_read_ipriorityr() 213 /* Fields for Group 0 or Secure Group 1 interrupts are RAZ/WI */ in gicr_read_ipriorityr() [all …]
|
H A D | arm_gicv3_common.c | 8 * Reworked for GICv3 by Shlomo Pongratz and Pavel Fedin 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 45 * so that instead of the data for external interrupts 32 and up in gicv3_gicd_no_migration_shift_bug_post_load() 66 * for next migration to work from this new version QEMU. in gicv3_gicd_no_migration_shift_bug_post_load() 227 * The gicd_no_migration_shift_bug flag is used for migration compatibility in gicv3_pre_load() 228 * for old version QEMU which may have the GICD bmp shift bug under KVM mode. in gicv3_pre_load() 231 * destination is using KVM; this is close enough because for the older QEMU in gicv3_pre_load() 318 /* For the GIC, also expose incoming GPIO lines for PPIs for each CPU. in gicv3_init_irqs_and_mmio() 321 * [N..N+31] PPIs for CPU 0 in gicv3_init_irqs_and_mmio() [all …]
|
/qemu/target/hexagon/ |
H A D | translate.c | 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 78 for (int i = 0; i < ctx->future_vregs_idx; i++) { in ctx_future_vreg_off() 86 for (int i = 0; i < num; i++) { in ctx_future_vreg_off() 100 for (int i = 0; i < ctx->tmp_vregs_idx; i++) { in ctx_tmp_vreg_off() 108 for (int i = 0; i < num; i++) { in ctx_tmp_vreg_off() 204 for (nwords = 0; !found_end && nwords < PACKET_WORDS_MAX; nwords++) { in read_packet_words() 215 /* Check for page boundary crossing */ in read_packet_words() 227 for (int i = 0; i < pkt->num_insns; i++) { in check_for_attrib() 237 /* We only need slot_cancelled for conditional store instructions */ in need_slot_cancelled() [all …]
|
H A D | gen_helper_funcs.py | 13 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 ## GNU General Public License for more details. 28 ## For A2_add: Rd32=add(Rs32,Rt32), { RdV=RsV+RtV;} 44 for arg in hex_common.helper_args(tag, regs, imms): 56 for regtype, regid in regs: 64 for regtype, regid in regs: 93 for regtype, regid in regs: 106 "Emit helper function definitions for each instruction" 112 for tag in hex_common.tags:
|
/qemu/docs/sphinx/ |
H A D | qapidoc.py | 90 # Field names used for different entity types: 135 lineno = tuple((n - 1 for n in lineno)) 157 for i, line in enumerate(lines): 170 # +2: correct for zero/one index, then increment by one. 233 # FIXME: ifcond for members 234 # TODO: features for members (documented at entity-level, 247 # FIXME - ifcond for features is not handled at all yet! 270 # FIXME: the formatting for errors may be inconsistent and may 277 Generate option lines for QAPI entity directives. 291 # into the options block for the entity. If, in the future, new [all …]
|
/qemu/tests/tcg/ |
H A D | README | 1 This directory contains various interesting guest binaries for 5 The multiarch directory contains shared code for tests that can be 6 built for all guest architectures. Architecture specific code can be 11 GDB scripts for exercising the gdbstub on specific tests will be found 14 See the developer guide for more instructions on "make check-tcg"
|
/qemu/include/io/ |
H A D | channel.h | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 67 * The QIOChannel defines the core API for a generic I/O channel 72 * - Support use of iovecs for efficient I/O with multiple blocks 74 * - Direct support for QEMU Error object reporting 78 * will be subclasses for dealing with sockets, files, and higher 92 HANDLE event; /* For use with GSource on Win32 */ 104 * Consult the corresponding public API docs for a description 187 * @feature: the feature to set support for 189 * Add channel support for the feature named in @feature. [all …]
|