/qemu/docs/devel/ |
H A D | vfio-iommufd.rst | 16 The base container implements generic functions such as memory_listener and 85 It's exactly same as the VFIO device with legacy VFIO container. 145 PCI p2p DMA is unsupported as IOMMUFD doesn't support mapping hardware PCI 158 like a real PCI device. There is an error as below if user wants to enable 165 ``vfio-ap`` and ``vfio-ccw`` devices don't have same issue as their backend
|
H A D | control-flow-integrity.rst | 76 3. Plugins, since a plugin is implemented as an external library 78 4. Modules, since they are implemented as an external library 88 incompatible way, as described before, you can selectively disable CFI checks 117 an assertion. However, other sanitizers such as address and ub sanitizers 132 lld needs to be used as a linker:: 137 and then, compile the fuzzers as usual.
|
H A D | style.rst | 100 as a guard against obviously-overlength lines, not a target.) 128 is often held as a ``cs`` pointer variable, whereas the concrete 141 prefix, for example ``pstrcpy`` or bit manipulation functions such as 226 constant on the right, as in: 287 Order include directives as follows: 383 Also, if you try to use e.g., "unsigned int" as a type, and that 435 there is no need to test for failure (as you would have to with 545 given in C99 and C11 to treat aspects of signed '<<' as undefined, as 595 Using g_autofree/g_autoptr enables the code to be written as: 653 be called "parent_class" as below: [all …]
|
H A D | reset.rst | 42 this the same as ``RESET_TYPE_COLD``. The main exception is devices which 44 value on each cold reset, such as RNG seed information, and which they 48 as equivalent to ``RESET_TYPE_COLD``; this will reduce the amount of 66 Note that, since resettable is an interface, the API takes a simple Object as 84 its registers back to what reset state was as well as reset everything on the 106 on other objects, such as raising or lowering a qemu_irq line or reading or 140 ``phases.exit()``. They all take the object as parameter. The *enter* method 141 also take the reset type as second parameter. 258 ``get_state()`` is simple. *resettable* is an interface and, as a consequence, 292 do so: the function is a no-op as long as old and new parent are NULL or not
|
H A D | multi-thread-tcg.rst | 19 simplified a lot of things but became increasingly limited as systems 61 is critical to performance as looking up the next TB to execute is the 167 as the synchronization point across threads, thereby ensuring that we only 201 - want change to be visible as soon as possible 209 synchronisation by setting the source vCPUs work as "safe work" and 236 push the use of the lock as far down into the TCG code as possible to 246 Updates to interrupt state are also protected by the BQL as they can 260 Barriers (sometimes known as fences) provide a mechanism for software 263 apply to any memory operations as well as just loads or stores.
|
H A D | rcu.txt | 13 this will often be the "iothread mutex", also known as the "big QEMU 29 having to worry about things such as contention or deadlocks. 36 do not matter; as soon as all previous critical sections have finished, 97 perhaps as follows: 168 order as reads in the RCU read-side critical sections (or if 176 Mark a thread as taking part in the RCU mechanism. Such a thread 182 Mark a thread as not taking part anymore in the RCU mechanism. 221 call_rcu1 is the same as Linux's call_rcu. 256 may be used as a restricted reference-counting mechanism. For example, 337 foo_unref could use a mechanism such as bottom halves to move deallocation
|
/qemu/qapi/ |
H A D | introspect.json | 19 # Command query-qmp-schema exposes the QMP wire ABI as an array of 31 # version of qemu may list an object member as an optional 60 # @builtin: a predefined type such as 'int' or 'bool'. 166 # @name: the member's name, as defined in the QAPI schema. 198 # @tag: the name of the member serving as type tag. An element of 220 # @name: the member's name, as defined in the QAPI schema. 224 # @default: default when used as command parameter. If absent, the
|
/qemu/docs/interop/ |
H A D | vhost-user.rst | 32 software Ethernet switch running in user space, such as Snabbswitch, 549 to mark page at ``addr`` as dirty:: 650 as on the source side, so that operation can resume). 762 For split virtqueue, queue region can be implemented as: 850 For packed virtqueue, queue region can be implemented as: 1025 should close the connection as a response to a 1121 as a "session start" flag. 1242 When and as long as all of a device’s vrings are stopped, it is 1388 zero as ``u64`` payload for success, non-zero otherwise. 1683 passes the FD to the back-end as ancillary data of a [all …]
|
/qemu/docs/ |
H A D | pcie_sriov.txt | 7 of a PCI Express device. It allows a single physical function (PF) to appear as multiple 26 Accesses to these virtual BARs then is computed as 59 /* Set up individual VF BARs (parameters as for normal BARs) */ 72 except for the SR/IOV capability. Then you need to set up the VF BARs as
|
H A D | rdma.txt | 38 over Converged Ethernet) as well as Infiniband-based. This implementation of 172 can start using them to carry all the bytes as 176 as follows (migration-rdma.c): 188 as a single SEND message). 219 A single control message, as hinted above, can contain within the data 255 5. Optionally, if we are expecting a response (as before), 268 a description of each RAMBlock on the server side as well as the virtual addresses 277 when transmitting non-live state, such as devices or to send 325 that as not being an available capability and will thus disable that 389 This helps keep everything as asynchronous as possible [all …]
|
H A D | throttle.txt | 83 this section we'll use 'iops-total' as an example. 120 'iops-total-max' is set as well, and its default value is 1 second. 155 counted as two, and a 6KB request will be counted as one and a 157 requests will be always counted as one, no matter their size. 172 be used as the group name. 221 (specifically the "Leaky bucket as a meter" variant). 241 unset as well. In this case the bucket size is 100. 245 we can only add as much water as it leaks, therefore the I/O rate is 267 Different filters can use the same group so the limits are shared as 283 throttle-group has a 'limits' property (of type ThrottleLimits as
|
H A D | pcie.txt | 45 Although the PCI Express spec does not forbid PCI Express devices as 67 2.1.1 To plug a device into pcie.0 as a Root Complex Integrated Endpoint use: 135 Legacy PCI devices can be plugged into pcie.0 as Integrated Endpoints, 136 but, as mentioned in section 5, doing so means the legacy PCI 162 2.3.1 To plug a PCI device into pcie.0 as an Integrated Endpoint use: 174 Firmware/Guest OS as PCI-PCI Bridges. As required by the PCI spec, each 258 hierarchy as flat as possible, thereby saving PCI bus numbers. 277 > lspci -s 03:00.0 -v (as root) 298 Virtio devices plugged into the PCI hierarchy or as Integrated Endpoints 299 will remain PCI and have transitional behaviour as default.
|
/qemu/hw/mem/ |
H A D | cxl_type3.c | 846 *as = &ct3d->hostvmem_as; in cxl_type3_hpa_to_as_and_dpa() 848 *as = &ct3d->hostpmem_as; in cxl_type3_hpa_to_as_and_dpa() 852 *as = &ct3d->hostpmem_as; in cxl_type3_hpa_to_as_and_dpa() 863 AddressSpace *as = NULL; in cxl_type3_read() local 867 &as, &dpa_offset); in cxl_type3_read() 885 AddressSpace *as = NULL; in cxl_type3_write() local 889 &as, &dpa_offset); in cxl_type3_write() 1000 AddressSpace *as; in set_cacheline() local 1019 as = &ct3d->hostvmem_as; in set_cacheline() 1021 as = &ct3d->hostpmem_as; in set_cacheline() [all …]
|
/qemu/docs/about/ |
H A D | removed-features.rst | 6 features that serves as a record for users who have encountered 174 using parameter ``memdev``, which does the same as ``mem`` and adds 346 or ``gnutls`` library enabled as a cryptography provider. 417 '32M' or as '0x2000000'. 609 type of the ``inserted`` field in query-block replies, as well as the 1012 The ability to add new TCG trace points had bit rotted and as the 1037 'ide-cd' as appropriate to get an IDE hard disk or CD-ROM as needed. 1043 'scsi-cd' as appropriate to get a SCSI hard disk or CD-ROM as needed. 1075 can be rewritten as:: 1103 image (such as deciding whether a v3 zero cluster may be left [all …]
|
/qemu/hw/usb/ |
H A D | hcd-ohci.h | 43 AddressSpace *as; member 117 uint32_t firstport, AddressSpace *as,
|
/qemu/include/hw/arm/ |
H A D | boot.h | 179 hwaddr addr_limit, AddressSpace *as, MachineState *ms); 231 AddressSpace *as, hwaddr addr,
|
/qemu/tests/qemu-iotests/tests/ |
H A D | qsd-jobs.out | 19 …med block device (uses node 'fmt_base' as 'root' child) and unshared by stream job 'job0' (uses no…
|
/qemu/hw/audio/ |
H A D | virtio-snd.c | 398 static void virtio_snd_get_qemu_audsettings(audsettings *as, in virtio_snd_get_qemu_audsettings() argument 401 as->nchannels = MIN(AUDIO_MAX_CHANNELS, params->channels); in virtio_snd_get_qemu_audsettings() 402 as->fmt = virtio_snd_get_qemu_format(params->format); in virtio_snd_get_qemu_audsettings() 403 as->freq = virtio_snd_get_qemu_freq(params->rate); in virtio_snd_get_qemu_audsettings() 404 as->endianness = target_words_bigendian() ? 1 : 0; in virtio_snd_get_qemu_audsettings() 435 audsettings as; in virtio_snd_pcm_prepare() local 467 virtio_snd_get_qemu_audsettings(&as, params); in virtio_snd_pcm_prepare() 473 stream->info.channels_max = as.nchannels; in virtio_snd_pcm_prepare() 480 stream->as = as; in virtio_snd_pcm_prepare() 488 &as); in virtio_snd_pcm_prepare() [all …]
|
/qemu/docs/config/ |
H A D | q35-virtio-graphical.cfg | 10 # You will probably need to tweak the lines marked as 26 # The core PCI devices show up in the guest as: 198 # appropriately. A USB keyboard is not needed, as q35 215 # Root Bus as it is a legacy PCI device; this way, we can 239 # device and as such can be plugged directly into the PCI
|
/qemu/docs/devel/migration/ |
H A D | CPR.rst | 7 that run the VM, such as QEMU or even the host kernel. At this time, 33 the RAM is backed by persistent shared memory, such as a DAX device, 37 guest in the suspended runstate, such as by issuing the 48 memory, such as ``memory-backend-file,share=on``, and that the 57 ``file`` type, but one can use other types such as ``exec``,
|
/qemu/target/ppc/translate/ |
H A D | misc-impl.c.inc | 8 * License as published by the Free Software Foundation; either 70 * check MSR_PR as well. 126 * POWER9 has a eieio instruction variant using bit 6 as a hint to 133 * as this is not an instruction software should be using,
|
/qemu/docs/system/ |
H A D | target-s390x.rst | 11 When using KVM as accelerator, QEMU can emulate CPUs up to the generation 12 of the host. When using the default cpu model with TCG as accelerator,
|
/qemu/docs/system/s390x/ |
H A D | 3270.rst | 10 lifting to an external 3270 terminal emulator (such as ``x3270``) to make a 44 * If you want to use the 3270 device as the Linux kernel console instead of 46 the guest's kernel command line. The kernel then should use the 3270 as
|
/qemu/docs/tools/ |
H A D | virtfs-proxy-helper.rst | 57 Use given file descriptor as socket descriptor for communicating with 59 socketpair and pass one of the fds as parameter to this option. 75 Run as a normal program. By default program will run in daemon mode
|
/qemu/target/m68k/ |
H A D | helper.c | 512 tib = address_space_ldl(cs->as, M68K_POINTER_BASE(tia) + j * 4, in dump_address_map() 518 tic = address_space_ldl(cs->as, (tib & tib_mask) + k * 4, in dump_address_map() 769 next = address_space_ldl(cs->as, entry, MEMTXATTRS_UNSPECIFIED, &txres); in get_physical_address() 777 address_space_stl(cs->as, entry, next | M68K_DESC_USED, in get_physical_address() 796 next = address_space_ldl(cs->as, entry, MEMTXATTRS_UNSPECIFIED, &txres); in get_physical_address() 804 address_space_stl(cs->as, entry, next | M68K_DESC_USED, in get_physical_address() 827 next = address_space_ldl(cs->as, entry, MEMTXATTRS_UNSPECIFIED, &txres); in get_physical_address() 836 next = address_space_ldl(cs->as, M68K_INDIRECT_POINTER(next), in get_physical_address() 845 address_space_stl(cs->as, entry, next | M68K_DESC_USED, in get_physical_address() 853 address_space_stl(cs->as, entry, in get_physical_address() [all …]
|