/qemu/docs/interop/ |
H A D | bitmaps.rst | 16 This document explains the conceptual mechanisms, as well as up-to-date, 32 bitmap is 64K, each '1' bit means that a 64K region as a whole may have 33 changed in some way, possibly by as little as one byte. 39 The size of a bitmap (in bytes) can be computed as such: 156 correctly, and can no longer be used. It remains in memory to serve as 276 - An incremental backup created from an empty bitmap will copy no data, as if 336 as ``+inconsistent`` if any such writes do happen. Backups made from such 370 - Merge takes one or more bitmaps as a source and merges them together into a 371 single destination, such that any segment marked as dirty in any source 378 operations will continue to cumulatively mark more segments as dirty. [all …]
|
/qemu/common-user/host/mips/ |
H A D | safe-syscall.inc.S | 3 * to handle signals occurring at the same time as system calls. 29 * second one the system call number (as a 'long'), and all further 52 * The syscall calling convention is nearly the same as C: 79 * The syscall calling convention is nearly the same as C: 135 * We must do so now to load the address of the helper, as required
|
/qemu/docs/system/ |
H A D | target-arm.rst | 25 As well as the more common "A-profile" CPUs (which have MMUs and will 26 run Linux) QEMU also supports "M-profile" CPUs such as the Cortex-M0, 55 bit of hardware, such as small amount of RAM, no PCI or other hard 69 as an alphabetical sort by filename.
|
H A D | qemu-block-drivers.rst.inc | 4 QEMU supports many image file formats that can be used with VMs as well as with 6 raw and qcow2 as well as formats that are supported for compatibility with 81 - The user passphrase is directly used as the encryption key. A poorly 160 when the guest on the VM also using btrfs as file system. Turning off 359 or ``off``. When set to ``off``, new blocks will be created as 428 see it as a partitioned disk. WARNING: unless you know what you do, it 437 ``/dev/nullb0`` as ``drive0``. 445 supported as an alias to the first CDROM drive. 564 The first method is to mount the iSCSI LUN on the host, and make it appear as 565 any other ordinary SCSI device on the host and then to access this device as a [all …]
|
/qemu/include/qemu/ |
H A D | main-loop.h | 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 72 * you can use a bottom half to enter the coroutine as soon as the main loop 128 * as they are a hack and are currently not necessary under POSIX systems, 242 * has been set. @e is passed to it as a parameter. 261 * The Big QEMU Lock (BQL) is the coarsest lock in QEMU, and as such it 300 * as the block layer main thread; this will be any of the actual 342 * external events (such as with select). The lock should be taken 358 * external events (such as with select). The lock should be unlocked 359 * as soon as possible by threads other than the main loop thread,
|
/qemu/audio/ |
H A D | audio.c | 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 174 static void audio_print_settings (struct audsettings *as) in audio_print_settings() argument 176 dolog ("frequency=%d nchannels=%d fmt=", as->freq, as->nchannels); in audio_print_settings() 178 switch (as->fmt) { in audio_print_settings() 201 AUD_log (NULL, "invalid(%d)", as->fmt); in audio_print_settings() 206 switch (as->endianness) { in audio_print_settings() 220 static int audio_validate_settings (struct audsettings *as) in audio_validate_settings() argument 224 invalid = as->nchannels < 1; in audio_validate_settings() 225 invalid |= as->endianness != 0 && as->endianness != 1; in audio_validate_settings() 227 switch (as->fmt) { in audio_validate_settings() [all …]
|
H A D | audio-hmp-cmds.c | 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 70 AudioState *as = audio_state_by_name(audiodev, &local_err); in hmp_wavcapture() local 72 if (!as) { in hmp_wavcapture() 79 if (wav_start_capture(as, s, path, freq, bits, nchannels)) { in hmp_wavcapture()
|
/qemu/tests/qemu-iotests/ |
H A D | 237 | 11 # it under the terms of the GNU General Public License as published by 30 with iotests.FilePath('t.vmdk') as disk_path, \ 31 iotests.FilePath('t.vmdk.1') as extent1_path, \ 32 iotests.FilePath('t.vmdk.2') as extent2_path, \ 33 iotests.FilePath('t.vmdk.3') as extent3_path, \ 34 iotests.VM() as vm:
|
H A D | 274 | 7 # it under the terms of the GNU General Public License as published by 52 with iotests.FilePath('base') as base, \ 53 iotests.FilePath('mid') as mid, \ 54 iotests.FilePath('top') as top: 98 with create_vm() as vm: 109 with create_vm() as vm: 130 with create_vm() as vm:
|
H A D | 251 | 9 # it under the terms of the GNU General Public License as published by 67 # in the output as well. 142 # basically the same way, the same warnings as in the previous step 147 # "status_fail_offset_1" in the output is the same as 155 # have been treated as containing data and thus should be correct in
|
/qemu/tests/tcg/aarch64/ |
H A D | sysregs.c | 47 /* As above but also check no bits outside of `mask' are set*/ 57 /* As above but check RAZ */ 120 * that is IMPDEF is exported as 0 to user-space. The _mask checks in main() 123 * This check is *not* comprehensive as some fields are set to in main() 130 /* TGran4 & TGran64 as pegged to -1 */ in main() 134 /* EL1/EL0 reported as AA64 only */ in main()
|
/qemu/python/qemu/qmp/ |
H A D | events.py | 26 with qmp.listener('STOP') as listener: 41 with qmp.listener(('STOP', 'RESUME')) as listener: 58 with qmp.listener() as listener: 73 the listener as an async iterator: 77 with qmp.listener() as listener: 85 with qmp.listener() as listener: 110 with qmp.listener() as listener: 274 with qmp.listener('JOB_STATUS_CHANGE', job1_filter) as listener: 282 event, as a `Message`) and returns a bool; True if the event should be 293 with qmp.listener('JOB_STATUS_CHANGE', job_filter('job2')) as listener: [all …]
|
/qemu/hw/audio/ |
H A D | adlib.c | 16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 256 struct audsettings as; in adlib_realizefn() local 272 as.freq = s->freq; in adlib_realizefn() 273 as.nchannels = SHIFT; in adlib_realizefn() 274 as.fmt = AUDIO_FORMAT_S16; in adlib_realizefn() 275 as.endianness = AUDIO_HOST_ENDIANNESS; in adlib_realizefn() 283 &as in adlib_realizefn()
|
/qemu/docs/config/ |
H A D | mach-virt-serial.cfg | 12 # You will probably need to tweak the lines marked as 24 # such as the PL011 UART, plus a PCI Express Root Bus; the 27 # The PCI Express Root Bus shows up in the guest as: 61 # same GIC version as the host. 81 # record information such as the UEFI boot order. 89 # binary and variable store template, as well as the paths
|
/qemu/docs/system/ppc/ |
H A D | powernv.rst | 4 PowerNV (as Non-Virtualized) is the "bare metal" platform using the 6 be used as an hypervisor OS, running KVM guests, or simply as a host 26 provided by QEMU or an external BMC such as an Aspeed QEMU machine. 62 powernv. kvm-pr in theory could be used as a valid accel option but 68 any other KVM alternative) is usable as KVM accel for this machine. 98 on any of the available PCIe slots using command line options such as: 179 connected to a remote QEMU machine acting as BMC, using these options
|
/qemu/include/crypto/ |
H A D | tlssession.h | 8 * License as published by the Free Software Foundation; either 31 * as GNUTLS, to setup and run TLS sessions. 124 * The session object can operate as either the server or 128 * unmodified hostname as requested by the user. This will 136 * certificate. If the session is acting as a server, setting 248 * @gracefulTermination: treat premature termination as graceful EOF 257 * of the TLS session will be treated as indicating EOF, as
|
/qemu/tests/qemu-iotests/tests/ |
H A D | migrate-during-backup | 7 # it under the terms of the GNU General Public License as published by 83 # and backup pass, let's not miss that moment, as it may 84 # be a bug as well as improvement.
|
/qemu/docs/system/riscv/ |
H A D | sifive_u.rst | 44 hardware, as some of the devices are not modeled by QEMU and trying to access 61 (S-mode) or ELF executable with the default OpenSBI firmware image as the 100 same as what is programmed in the hardware. The QEMU one is a simplified 101 version, but it provides the same functionality as the hardware. 105 peripherals as needed. This is U-Boot proper combined with an OpenSBI 187 A pre-built 64-bit VxWorks 7 image for HiFive Unleashed board is available as 188 part of the VxWorks SDK for testing as well. Instructions to download the SDK: 215 the sifive_unleashed_defconfig with similar commands as described above for 281 Assume U-Boot binaries are put in the same directory as the config file, 344 It's possible to create a 32-bit U-Boot S-mode image as well.
|
/qemu/include/hw/xen/interface/io/ |
H A D | netif.h | 18 * implicit dependency on the MAX_SKB_FRAGS as the maximum number of 19 * ring slots a skb can use. Netfront / netback may not work as 39 * that it cannot safely queue packets (as it may not be kicked to send them). 45 * advertises it via xenstore as 0 (disabled) or 1 (enabled). 48 * channels for TX and RX, advertise them to backend as 51 * node as before. 72 * ring-ref keys are written as before, simplifying the backend processing 96 * choose not to connect any queues, instead treating the request as an 139 * containing XEN_NETIF_EXTRA_TYPE_MCAST_{ADD,DEL} extra-info fragments as 156 * Some features, such as hashing (detailed below), require a [all …]
|
/qemu/system/ |
H A D | memory-internal.h | 23 static inline AddressSpaceDispatch *address_space_to_dispatch(AddressSpace *as) in address_space_to_dispatch() argument 25 return flatview_to_dispatch(address_space_to_flatview(as)); in address_space_to_dispatch() 28 FlatView *address_space_get_flatview(AddressSpace *as);
|
/qemu/rust/hw/timer/hpet/src/ |
H A D | device.rs | 155 ((b - a) as i64) < 0 in hpet_time_after() 236 // SAFETY: HPETTimer is only used as part of HPETState, which is in init_timer_with_cell() 297 ((self.config & HPET_TN_CFG_INT_ROUTE_MASK) >> HPET_TN_CFG_INT_ROUTE_SHIFT) as usize in get_individual_route() 317 // routed as per the routing in the timer n config registers. in get_int_route() 336 self.fsb as u32, // Timer N FSB int value, truncate! in set_irq() 422 self.cmp = u64::from(self.cmp as u32); // truncate! in set_tn_cfg_reg() 423 self.period = u64::from(self.period as u32); // truncate! in set_tn_cfg_reg() 444 value = u64::from(value as u32); // truncate! in set_tn_cmp_reg() 490 self.cmp = u64::from(self.cmp64 as u32); // truncate! in callback() 694 // not be changed as well). in set_counter_reg() [all …]
|
/qemu/include/fpu/ |
H A D | softfloat-types.h | 6 * some later contributions) are provided under that license, as detailed below. 25 of this code was written as part of a project to build a fixed-point vector 31 THIS SOFTWARE IS DISTRIBUTED AS IS, FOR FREE. Although reasonable effort 37 Derivative works are acceptable, even for commercial purposes, so long as 63 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 337 * and using them as inputs to a float op will raise Invalid. 343 * and using them as inputs to a float op will raise Invalid. 349 * and using them as inputs to a float op will raise Invalid. 356 * (treating them as denormals by ignoring the Integer bit). 359 * giving extra range. They may also be generated as outputs. [all …]
|
/qemu/docs/specs/ |
H A D | fw_cfg.rst | 37 As of QEMU v2.4, writes to the fw_cfg data register are no 38 longer supported, and will be ignored (treated as no-ops)! 41 As of QEMU v2.9, writes are reinstated, but only through the DMA 56 * Read/Write (writes ignored as of QEMU v2.4, but see the DMA interface) 62 On platforms where the data register is exposed as an IOport, its 69 the selector register, as described above. 81 N bytes of the selected firmware configuration item, as a substring, in 214 upper 16 bits are interpreted as an index of a firmware configuration item. 215 This has the same effect as writing the selector register.
|
/qemu/docs/devel/testing/ |
H A D | fuzzing.rst | 15 To fuzz QEMU, we rely on libfuzzer. Unlike other fuzzers such as AFL, libfuzzer 25 detect bugs such as out-of-bounds accesses, uses-after-free, double-frees 53 As mentioned above, libFuzzer accepts some arguments. Passing ``-help=1`` will 56 * ``CORPUS_DIR/`` : Specify a directory as the last argument to libFuzzer. 104 3. Re-run the fuzzer. Specify $CORPUS_DIR/* as an argument, telling libfuzzer 129 Fuzzers can be more-or-less thought of as special qtest programs which can 132 fuzzer loops over the byte-array interpreting it as a list of qtest commands, 168 As a generic rule-of-thumb, the more ``MemoryRegions``/Devices we match, the 170 inputs for individual devices. As such, it is usually a good idea to limit the
|
/qemu/tests/qtest/ |
H A D | npcm7xx_rng-test.c | 7 * under the terms of the GNU General Public License as published by the 87 * Perform a frequency (monobit) test, as defined by NIST SP 800-22, on the 89 * truly random sequence having the same proportion of zeros and ones as the 104 * Each 1 counts as 1, each 0 counts as -1. in calc_monobit_p() 116 * Perform a runs test, as defined by NIST SP 800-22, and return the P-value. 118 * number of runs (i.e. uninterrupted sequences of identical bits) as the
|