/qemu/include/hw/arm/ |
H A D | armsse.h | 8 * it under the terms of the GNU General Public License version 2 or 13 * This is a model of the Arm "Subsystems for Embedded" family of 14 * hardware, which include the IoT Kit and the SSE-050, SSE-100 and 16 * - the Arm IoT Kit which is documented in 18 * - the SSE-200 which is documented in 21 * The IoTKit contains: 23 * the IDAU 28 * a bus fabric which arranges that some parts of the address 30 * The SSE-200 additionally contains: 42 * + QOM property "memory" is a MemoryRegion containing the devices provided [all …]
|
/qemu/include/system/ |
H A D | device_tree.h | 10 * This work is licensed under the GNU GPL license version 2 or later. 21 * load_device_tree_from_sysfs: reads the device tree information in the 22 * /proc/device-tree directory and return the corresponding binary blob 29 * qemu_fdt_node_path: return the paths of nodes matching a given 31 * @fdt: pointer to the dt blob 37 * Use g_strfreev() to free it. If one or more nodes were found, the 38 * array contains the path of each node and the last element equals to 39 * NULL. If there is no error but no matching node was found, the 41 * was encountered when parsing the blob, the function returns NULL 50 * qemu_fdt_node_unit_path: return the paths of nodes matching a given [all …]
|
H A D | replay.h | 5 * of the Russian Academy of Sciences. 7 * This work is licensed under the terms of the GNU GPL, version 2 or later. 8 * See the COPYING file in the top-level directory. 30 /* IDs of the checkpoints */ 47 /* Name of the initial VM snapshot */ 52 * The locks are needed to protect the shared structures and log file 53 * when doing record/replay. They also are the main sync-point between 54 * the main-loop thread and the vCPU thread. This was a role 55 * previously filled by the BQL which has been busy trying to reduce 56 * its impact across the code. This ensures blocks of events stay [all …]
|
/qemu/qapi/ |
H A D | qdev.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. 18 # @typename: the type name of a device 25 # properties are not included in the output of this command. 38 # @driver: the name of the new device's driver 40 # @bus: the device's parent bus (device tree path) 42 # @id: the device's ID, must be unique 46 # @json-cli: If present, the "-device" command line option supports 47 # JSON syntax with a structure identical to the arguments of this 50 # @json-cli-hotplug: If present, the "-device" command line option [all …]
|
H A D | audio.json | 6 # This work is licensed under the terms of the GNU GPL, version 2 or later. 7 # See the COPYING file in the top-level directory. 20 # QEMU and convert audio formats when not supported by the 38 # @buffer-length: the buffer length in microseconds 57 # @in: options of the capture stream 59 # @out: options of the playback stream 71 # Options of the D-Bus audio backend. 73 # @in: options of the capture stream 75 # @out: options of the playback stream 77 # @nsamples: set the number of samples per read/write calls (default to 480, [all …]
|
/qemu/include/crypto/ |
H A D | ivgen.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 30 * CBC. The principle is that each disk sector is assigned a unique 105 * @alg: the initialization vector generation algorithm 106 * @cipheralg: the cipher algorithm or 0 [all …]
|
H A D | akcipher.h | 8 * modify it under the terms of the GNU Lesser General Public 9 * License as published by the Free Software Foundation; either 10 * version 2.1 of the License, or (at your option) any later version. 12 * This library is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 * You should have received a copy of the GNU Lesser General Public 31 * @opts: the asymmetric key algorithm and related options 34 * supported by the current configured build 42 * @opts: specify the algorithm and the related arguments [all …]
|
/qemu/include/qom/ |
H A D | object_interfaces.h | 21 * @parent_class: the base class 32 * Interface also provides an optional ability to do the second 33 * stage * initialization of the object after its properties were 52 * @uc: the user-creatable object whose complete() method is called if defined 53 * @errp: if an error occurs, a pointer to an area to store the error 56 * from implements USER_CREATABLE interface, otherwise the call does 65 * @uc: the object whose can_be_deleted() method is called if implemented 74 * @type: the object type name 75 * @id: the unique ID for the object 76 * @qdict: the object properties [all …]
|
/qemu/include/hw/virtio/ |
H A D | virtio-bus.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 57 * Expose the features the transport layer supports before 58 * the negotiation takes place. 63 * This is called by virtio-bus just after the device is plugged. 68 * This is called by virtio-bus just before the device is unplugged. [all …]
|
/qemu/docs/system/ |
H A D | bootindex.rst | 4 QEMU can tell QEMU-aware guest firmware (like the x86 PC BIOS) 6 A simple way to set this order is to use the ``-boot order=`` option, 8 property on the individual block or net devices you specify 9 on the QEMU command line. 11 The ``bootindex`` properties are used to determine the order in which 12 firmware will consider devices for booting the guest OS. If the 13 ``bootindex`` property is not set for a device, it gets the lowest 18 Some guest machine types (for instance the s390x machines) do 44 Given the command above, firmware should try to boot from the e1000 NIC 45 first. If this fails, it should try the virtio NIC next; if this fails [all …]
|
/qemu/docs/devel/ |
H A D | submitting-a-pull-request.rst | 7 sent as simple patch emails to the mailing list (see our page on 17 **Resend the patches with the pull request** as emails which are 18 threaded as follow-ups to the pull request itself. The simplest way to 19 do this is to use ``git format-patch --cover-letter`` to create the 20 emails, and then edit the cover letter to include the pull request 23 **Use PULL as the subject line tag** in both the cover letter and the 26 helps people to filter in or out the resulting emails (especially useful 27 if they are only CC'd on one email out of the set). 30 the original author if the patch was not written by you. This is because 31 with a pull request you're now indicating that the patch has passed via [all …]
|
/qemu/docs/ |
H A D | memory-hotplug.txt | 4 This document explains how to use the memory hotplug feature in QEMU, 13 hotpluggable memory slots to create and what is the maximum amount of 14 memory the guest can grow. This is done at startup time by means of 15 the -m command-line option, which has the following format: 21 - "megs" is the startup RAM. It is the RAM the guest will boot with 22 - "slots" is the number of hotpluggable memory slots 23 - "maxmem" is the maximum RAM size the guest can have 25 For example, the following command-line: 30 The hotpluggable memory slots are empty when the guest is booted, so all 31 memory the guest will see after boot is 1GB. The maximum memory the [all …]
|
/qemu/include/hw/cpu/ |
H A D | cluster.h | 7 * modify it under the terms of the GNU General Public License 8 * as published by the Free Software Foundation; either version 2 9 * of the License, or (at your option) any later version. 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 * A cluster is a group of CPUs which are all identical and have the same view 30 * of the rest of the system. It is mainly an internal QEMU representation and 31 * does not necessarily match with the notion of clusters on the real hardware. [all …]
|
/qemu/include/io/ |
H A D | channel-util.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 34 * @fd: the file descriptor 37 * Create a channel for performing I/O on the file 38 * descriptor @fd. The particular subclass of QIOChannel [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 121 | 9 # it under the terms of the GNU General Public License as published by 10 # the Free Software Foundation; either version 2 of the License, or 13 # This program is distributed in the hope that it will be useful, 14 # but WITHOUT ANY WARRANTY; without even the implied warranty of 15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 # You should have received a copy of the GNU General Public License 28 status=1 # failure is the default! 54 # Preallocation speeds up the write operation, but preallocating everything will 55 # destroy the purpose of the write; so preallocate one KB less than what would 58 # ...and make the image the desired size afterwards. [all …]
|
H A D | 305 | 4 # Test the handling of errors in write requests with multiple allocations 10 # it under the terms of the GNU General Public License as published by 11 # the Free Software Foundation; either version 2 of the License, or 14 # This program is distributed in the hope that it will be useful, 15 # but WITHOUT ANY WARRANTY; without even the implied warranty of 16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 # You should have received a copy of the GNU General Public License 29 status=1 # failure is the default! 46 echo '### Create the image' 49 # The reference counts of the clusters for the first 123k of this [all …]
|
/qemu/qga/ |
H A D | qapi-schema.json | 5 # This manual describes the commands supported by the QEMU Guest 8 # For locating a particular item, please see the `qapi-qga-index`. 10 # The following notation is used in examples: 20 # Please refer to the 22 # for the general format of commands, responses, and events. 53 # sentinel byte (0xFF) the client can check scan for. 55 # This is used by clients talking to the guest agent over the wire to 56 # ensure the stream is in sync and doesn't contain stale data from 62 # ignored until the response containing the unique integer value the 63 # client passed in is returned. Receival of the 0xFF sentinel byte [all …]
|
/qemu/common-user/host/x86_64/ |
H A D | safe-syscall.inc.S | 3 * to handle signals occurring at the same time as system calls. 8 * This work is licensed under the terms of the GNU GPL, version 2 or later. 9 * See the COPYING file in the top-level directory. 17 /* This is the entry point for making a system call. The calling 18 * convention here is that of a C varargs function with the 19 * first argument an 'int *' to the signal_pending flag, the 20 * second one the system call number (as a 'long'), and all further 25 /* This saves a frame pointer and aligns the stack for the syscall. 26 * (It's unclear if the syscall ABI has the same stack alignment 27 * requirements as the userspace function call ABI, but better safe than [all …]
|
/qemu/tests/qtest/ |
H A D | qos-test.c | 7 * modify it under the terms of the GNU Lesser General Public 8 * License version 2.1 as published by the Free Software Foundation. 10 * This library is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * You should have received a copy of the GNU Lesser General Public 41 * and then executes the QMP protocol asking for the list of devices 44 * for each of these items, it looks up the corresponding qgraph node, 45 * setting it as available. The list currently returns all devices that 94 /* compares the current command line with the in restart_qemu_or_continue() [all …]
|
/qemu/include/hw/xen/interface/ |
H A D | grant_table.h | 20 * between domains. This shared memory interface underpins the split 24 * is shared with Xen; it allows the domain to tell Xen what kind of 25 * permissions other domains have on its pages. Entries in the grant 27 * integer, which indexes into the grant table. It acts as a 28 * capability which the grantee can use to perform operations on the 33 * the details of a shared page, removing the need for a domain to 34 * know the real machine address of a page it is sharing. This makes 51 * Introducing a valid entry into the grant table: 68 * This cannot be done directly. Request assistance from the domain controller 69 * which can set a timeout on the use of a grant entry and take necessary [all …]
|
/qemu/include/qemu/ |
H A D | coroutine-core.h | 10 * This work is licensed under the terms of the GNU LGPL, version 2 or later. 11 * See the COPYING.LIB file in the top-level directory. 25 * These functions are re-entrant and may be used outside the BQL. 35 * In the future it would be nice to have the compiler or a static 37 * it possible and in the meantime it serves as documentation. 52 * In the future it would be nice to have the compiler or a static 54 * it possible and in the meantime it serves as documentation. 63 * When the coroutine is entered for the first time, opaque is passed in as an 66 * When this function returns, the coroutine is destroyed automatically and 67 * execution continues in the caller who last entered the coroutine. [all …]
|
/qemu/docs/devel/migration/ |
H A D | mapped-ram.rst | 4 Mapped-ram is a new stream format for the RAM section designed to 5 supplement the existing ``file:`` migration and make it compatible 9 The core of the feature is to ensure that RAM pages are mapped 10 directly to offsets in the resulting migration file. This enables the 11 ``multifd`` threads to write exclusively to those offsets even if the 13 benefit is that the resulting file will have a bounded size, since 15 location in the file, rather than constantly being added to a 16 sequential stream. Having the pages at fixed offsets also allows the 17 usage of O_DIRECT for save/restore of the migration stream as the 24 On both source and destination, enable the ``multifd`` and [all …]
|
/qemu/docs/system/s390x/ |
H A D | 3270.rst | 4 The 3270 is the classic 'green-screen' console of the mainframes (see the 7 The 3270 data stream is not implemented within QEMU; the device only provides 9 and `RFC 1576 <https://tools.ietf.org/html/rfc1576>`__) and leaves the heavy 15 a ``tn3270`` chardev. The guest will see a 3270 channel device. In order 16 to actually be able to use it, attach the ``x3270`` emulator to the chardev. 21 * Make sure that 3270 support is enabled in the guest's Linux kernel. You need 25 * Add a ``tn3270`` chardev and a ``x-terminal3270`` to the QEMU command line:: 30 * Start the guest. In the guest, use ``chccwdev -e 0.0.000a`` to enable 31 the device. 33 * On the host, start the ``x3270`` emulator:: [all …]
|
/qemu/docs/interop/ |
H A D | nbd.rst | 4 QEMU supports the NBD protocol, and has an internal NBD client (see 6 external NBD server tool (see ``qemu-nbd.c``). The common code is placed 9 The NBD protocol is specified here: 12 The following paragraphs describe some specific properties of NBD 18 QEMU supports the ``base:allocation`` metadata context as defined in the 25 The ``qemu`` namespace currently contains two available metadata context 26 types. The first is related to exposing the contents of a dirty 27 bitmap alongside the associated disk contents. That metadata context 28 is named with the following form:: 36 ``NBD_STATE_DIRTY``, set when the extent is "dirty" [all …]
|
/qemu/docs/specs/ |
H A D | riscv-iommu.rst | 6 QEMU implements a RISC-V IOMMU emulation based on the RISC-V IOMMU spec 9 The emulation includes a PCI reference device (riscv-iommu-pci) and a platform 10 bus device (riscv-iommu-sys) that QEMU RISC-V boards can use. The 'virt' 16 This device implements the RISC-V IOMMU emulation as recommended by the section 20 As a reference device it doesn't implement anything outside of the specification, 23 To include the device in the 'virt' machine: 29 This will add a RISC-V IOMMU PCI device in the board following any additional 30 PCI parameters (like PCI bus address). The behavior of the RISC-V IOMMU is 31 defined by the spec but its operation is OS dependent. 33 As of this writing the existing Linux kernel support `linux-v8`_, not yet merged, [all …]
|