/qemu/hw/intc/ |
H A D | spapr_xive_kvm.c | 6 * This code is licensed under the GPL version 2 or later. See the 7 * COPYING file in the top-level directory. 85 /* word0 and word1 of the OS ring. */ in kvmppc_xive_cpu_set_state() 115 /* word0 and word1 of the OS ring. */ in kvmppc_xive_cpu_get_state() 143 * Kick the vCPU to make sure they are available for the KVM ioctl. in kvmppc_xive_cpu_synchronize_state() 230 * At reset, the interrupt sources are simply created and MASKED. We 231 * only need to inform the KVM XIVE device about their type: LSI or 276 * This is used to perform the magic loads on the ESB pages, described 291 /* Prevent the compiler from optimizing away the load */ in xive_esb_rw() 316 * and the interrupt should be re-triggered if the level is still in kvmppc_xive_esb_rw() [all …]
|
/qemu/include/block/ |
H A D | aio-wait.h | 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights 10 * copies of the Software, and to permit persons to whom the Software is 11 * furnished to do so, subject to the following conditions: 13 * The above copyright notice and this permission notice shall be included in 14 * all copies or substantial portions of the Software. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN [all …]
|
/qemu/python/qemu/qmp/ |
H A D | protocol.py | 6 that implements the core mechanisms of a simple send/receive protocol, 9 In this package, it is used as the implementation for the `QMPClient` 13 # It's all the docstrings ... ! It's long for a good reason ^_^; 63 #: In the process of connecting or establishing a session. 67 #: In the process of disconnecting. 74 Raised when the initial connection process has failed. 79 :param error_message: Human-readable string describing the error. 80 :param exc: The root-cause exception. 92 # If there's no error string, use the exception name. 105 :param error_message: Human-readable string describing the state violation. [all …]
|
/qemu/include/io/ |
H A D | channel-websock.h | 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 2.1 of the License, or (at your option) any later version. 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * You should have received a copy of the GNU Lesser General Public 42 * The QIOChannelWebsock class provides a channel wrapper which 43 * can transparently run the HTTP websockets protocol. This is 46 * used as the transport. [all …]
|
H A D | channel-watch.h | 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 2.1 of the License, or (at your option) any later version. 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 * You should have received a copy of the GNU Lesser General Public 28 * the various QIOChannel implementations, for creating watches 34 * @ioc: the channel object 35 * @fd: the file descriptor [all …]
|
/qemu/hw/scsi/ |
H A D | srp.h | 5 * licenses. You may choose to be licensed under the terms of the GNU 6 * General Public License (GPL) Version 2, available from the file 7 * COPYING in the main directory of this source tree, or the 11 * without modification, are permitted provided that the following 14 * - Redistributions of source code must retain the above 15 * copyright notice, this list of conditions and the following 18 * - Redistributions in binary form must reproduce the above 19 * copyright notice, this list of conditions and the following 20 * disclaimer in the documentation and/or other materials 21 * provided with the distribution. [all …]
|
/qemu/docs/system/i386/ |
H A D | nitro-enclave.rst | 8 no persistent storage and no external networking. The enclave VMs are based 9 on Firecracker microvm with a vhost-vsock device for communication with the 11 for cryptographic attestation. The parent instance VM always has CID 3 while 12 the enclave VM gets a dynamic CID. Enclaves use an EIF (`Enclave Image Format`_) 13 file which contains the necessary kernel, cmdline and ramdisk(s) to boot. 18 which can be difficult for debugging due to its roots in security. The vsock 20 can do the userspace emulation, like `vhost-device-vsock`_ from rust-vmm crate, 21 must be run alongside nitro-enclave for the vsock communication to work. 31 Using the nitro-enclave machine type 37 It supports the following machine-specific options: [all …]
|
/qemu/include/hw/dma/ |
H A D | xlnx_dpdma.h | 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation, either version 2 of the License, or 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 * You should have received a copy of the GNU General Public License along 50 * xlnx_dpdma_start_operation: Start the operation on the specified channel. The 51 * DPDMA gets the current descriptor and retrieves 52 * data to the buffer specified by 55 * Returns The number of bytes transferred by the DPDMA [all …]
|
/qemu/docs/ |
H A D | qdev-device-use.txt | 23 Example: device i440FX-pcihost is on the root bus, and provides a PCI 25 FOO,bus=/i440FX-pcihost/pci.0,addr=4. The abbreviated form bus=pci.0 26 also works as long as the bus name is unique. 32 In the general case, the guest device is connected to a controller 33 device. For instance, the IDE controller provides two IDE buses, each 38 together into a single device. For instance, the ISA floppy 41 The old ways to define block devices define host and guest part 43 addition to the block device. 45 The new way keeps the parts separate: you create the host part with 48 The various old ways to define drives all boil down to the common form [all …]
|
/qemu/docs/system/arm/ |
H A D | aspeed.rst | 3 The QEMU Aspeed machines model BMCs of various OpenPOWER systems and 4 Aspeed evaluation boards. They are based on different releases of the 5 Aspeed SoC : the AST2400 integrating an ARM926EJ-S CPU (400MHz), the 6 AST2500 with an ARM1176JZS CPU (800MHz), the AST2600 9 The SoC comes with RAM, Gigabit ethernet, USB, SD/MMC, USB, SPI, I2C, 44 * SMP (for the AST2600 Cortex-A7) 48 * I2C Controller, including the new register interface of the AST2600 89 The Aspeed machines can be started using the ``-kernel`` and ``-dtb`` options 90 to load a Linux kernel or from a firmware. Images can be downloaded from the 95 or directly from the OpenBMC GitHub release repository : [all …]
|
H A D | bananapi_m2u.rst | 6 has onboard WiFi and BT. On the ports side, the BPI-M2 Ultra has 2 USB A 13 The Banana Pi M2U machine supports the following devices: 33 Currently, Banana Pi M2U does *not* support the following features: 35 - Graphical output via HDMI, GPU and/or the Display Engine 39 Also see the 'unimplemented' array in the Allwinner R40 SoC module 45 The Banana Pi M2U machine can start using the standard -kernel functionality 46 for loading a Linux kernel or ELF executable. Additionally, the Banana Pi M2U 47 machine can also emulate the BootROM which is present on an actual Allwinner R40 48 based SoC, which loads the bootloader from a SD card, specified via the -sd 54 To build a Linux mainline kernel that can be booted by the Banana Pi M2U machine, [all …]
|
/qemu/backends/tpm/ |
H A D | tpm_ioctl.h | 6 * This file is licensed under the terms of the 3-clause BSD license 26 * the ptm_res as the first element. 27 * ptm_res corresponds to the error code of a command executed by the TPM. 42 /* PTM_GET_TPMESTABLISHED: get the establishment bit */ 106 * size of the TPM state blob to transfer; x86_64 can handle 8k, 107 * ppc64le only ~7k; keep the response below a 4k page size 112 * The following is the data structure to get state blobs from the TPM. 113 * If the size of the state blob exceeds the PTM_STATE_BLOB_SIZE, multiple reads 115 * must be transferred and the transfer is done once the last byte has been 117 * It is possible to use the read() interface for reading the data; however, the [all …]
|
/qemu/docs/about/ |
H A D | emulation.rst | 4 QEMU's Tiny Code Generator (TCG) provides the ability to emulate a 7 depending on the guest architecture. 40 - The ubiquitous desktop PC CPU architecture, 32 and 64 bit. 60 - Open source RISC architecture developed by the OpenRISC community 99 Semihosting is a feature defined by the owner of the architecture to 102 hooked directly to the board. QEMU's implementation allows for 103 semihosting calls to be passed to the host system or via the 112 to exit test code while reporting the success state. 114 Semihosting is only available using TCG emulation. This is because the 120 the guest and the host. As a result a program using semihosting can [all …]
|
/qemu/docs/sphinx/ |
H A D | qapidoc_legacy.py | 8 # This work is licensed under the terms of the GNU GPLv2 or later. 9 # See the COPYING file in the top-level directory. 12 qapidoc is a Sphinx extension that implements the qapi-doc directive 14 The purpose of this extension is to read the documentation comments 15 in QAPI schema files, and insert them all into the current document. 18 Each qapi-doc:: directive takes one argument, which is the 19 pathname of the schema file to process, relative to the source tree. 21 The docs/conf.py file must set the qapidoc_srctree config value to 22 the root of the QEMU source tree. 24 The Sphinx documentation on writing extensions is at: [all …]
|
/qemu/include/system/ |
H A D | cryptodev-vhost.h | 11 * modify it under the terms of the GNU Lesser General Public 12 * License as published by the Free Software Foundation; either 13 * version 2.1 of the License, or (at your option) any later version. 15 * This library is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 * You should have received a copy of the GNU Lesser General Public 50 * @crypto: the cryptodev backend common vhost object 52 * Get the maximum queue number of @crypto. 55 * Returns: the maximum queue number [all …]
|
/qemu/qapi/ |
H A D | run-state.json | 16 # @finish-migrate: guest is paused to finish the migration process 19 # that this state does not tell whether the machine will start at 20 # the end of the migration. This depends on the command-line -S 27 # @io-error: the last IOP has failed and the device is configured to 30 # @paused: guest has been paused via the 'stop' command 40 # @save-vm: guest is paused to save the VM state 46 # @watchdog: the watchdog action is configured to pause and has been 71 # @host-qmp-quit: Reaction to the QMP command 'quit' 73 # @host-qmp-system-reset: Reaction to the QMP command 'system_reset' 92 # @snapshot-load: A snapshot is being loaded by the record & replay [all …]
|
H A D | machine-common.json | 4 # This work is licensed under the terms of the GNU GPL, version 2 or later. 5 # See the COPYING file in the top-level directory. 28 # logical processor level. The @threads option in 29 # SMPConfiguration is used to configure the topology of this 32 # @core: core level. The @cores option in SMPConfiguration is used 33 # to configure the topology of this level. 35 # @module: module level. The @modules option in SMPConfiguration is 36 # used to configure the topology of this level. 38 # @cluster: cluster level. The @clusters option in SMPConfiguration 39 # is used to configure the topology of this level. [all …]
|
H A D | machine-s390x.json | 5 # This work is licensed under the terms of the GNU GPL, version 2 or later. 6 # See the COPYING file in the top-level directory. 25 # Modify the topology by moving the CPU inside the topology tree, or 29 # @core-id: the vCPU ID to be moved 31 # @socket-id: destination socket to move the vCPU to 33 # @book-id: destination book to move the vCPU to 35 # @drawer-id: destination drawer to move the vCPU to 39 # @dedicated: whether the provisioning of real to virtual CPU is 63 # Emitted when the guest asks to change the polarization. 65 # The guest can tell the host (via the PTF instruction) whether the [all …]
|
/qemu/include/hw/pci/ |
H A D | pci.h | 180 /* Size of the standard PCI config header */ 182 /* Size of the standard PCI config space */ 184 /* Size of the standard PCIe config space: 4KB */ 407 * Allows to modify the behavior of some IOMMU operations of the PCI 412 * @get_address_space: get the address space for a set of devices 417 * @bus: the #PCIBus being accessed. 419 * @opaque: the data passed to pci_setup_iommu(). 428 * retrieve host information from the associated HostIOMMUDevice. 430 * @bus: the #PCIBus of the PCI device. 432 * @opaque: the data passed to pci_setup_iommu(). [all …]
|
/qemu/include/hw/ |
H A D | register.h | 7 * This work is licensed under the terms of the GNU GPL, version 2. See 8 * the COPYING file in the top-level directory. 27 * @name: String name of the register 28 * @ro: whether or not the bit is read-only 29 * @w1c: bits with the common write 1 to clear semantic. 34 * @pre_write: Pre write callback. Passed the value that's to be written, 35 * immediately before the actual write. The returned value is what is written, 36 * giving the handler a chance to modify the written value. 37 * @post_write: Post write callback. Passed the written value. Most write side 40 * @post_read: Post read callback. Passes the value that is about to be returned [all …]
|
/qemu/target/arm/tcg/ |
H A D | translate-a64.h | 5 * modify it under the terms of the GNU Lesser General Public 6 * License as published by the Free Software Foundation; either 7 * version 2.1 of the License, or (at your option) any later version. 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * You should have received a copy of the GNU Lesser General Public 59 * done the necessary access check, so assert that 60 * (a) we did the chec [all...] |
/qemu/include/standard-headers/linux/ |
H A D | virtio_ring.h | 7 * This header is BSD licensed so anyone can use the definitions to implement 11 * modification, are permitted provided that the following conditions 13 * 1. Redistributions of source code must retain the above copyright 14 * notice, this list of conditions and the following disclaimer. 15 * 2. Redistributions in binary form must reproduce the above copyright 16 * notice, this list of conditions and the following disclaimer in the 17 * documentation and/or other materials provided with the distribution. 18 * 3. Neither the name of IBM nor the names of its contributors 21 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND 22 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE [all …]
|
/qemu/include/hw/intc/ |
H A D | arm_gicv3_common.h | 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation, either version 2 of the License, or 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 * You should have received a copy of the GNU General Public License along 32 * Maximum number of possible interrupts, determined by the GIC architecture. 42 * The redistributor in GICv3 has two 64KB frames per CPU; in 55 * For some distributor fields we want to model the array of 32-bit 57 * pending, etc bits. We use the set_bit32() etc family of functions [all …]
|
/qemu/include/tcg/ |
H A D | startup.h | 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights 10 * copies of the Software, and to permit persons to whom the Software is 11 * furnished to do so, subject to the following conditions: 13 * The above copyright notice and this permission notice shall be included in 14 * all copies or substantial portions of the Software. 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN [all …]
|
/qemu/include/user/ |
H A D | cpu_loop.h | 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or 11 * This program is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 * You should have received a copy of the GNU General Public License 29 * @pc: raw pc from the host signal ucontext_t. 32 * Alter @pc as required for unwinding. Return the type of the 39 * @cpu: the cpu context 40 * @old_set: the sigset_t from the signal ucontext_t [all …]
|