/qemu/tests/qemu-iotests/ |
H A D | 159.out | 9 == Converting the image with dd with a block size of 5 == 12 == Compare the images with qemu-img compare == 21 == Converting the image with dd with a block size of 512 == 24 == Compare the images with qemu-img compare == 33 == Converting the image with dd with a block size of 1024 == 36 == Compare the images with qemu-img compare == 45 == Converting the image with dd with a block size of 1999 == 48 == Compare the images with qemu-img compare == 57 == Converting the image with dd with a block size of 1K == 60 == Compare the images with qemu-img compare == [all …]
|
H A D | 160.out | 9 == Converting the image with dd with skip=1 == 12 == Compare the images with qemu-img compare == 21 == Converting the image with dd with skip=2 == 24 == Compare the images with qemu-img compare == 33 == Converting the image with dd with skip=30 == 36 == Compare the images with qemu-img compare == 45 == Converting the image with dd with skip=30K == 48 == Compare the images with qemu-img compare ==
|
H A D | 290.out | 5 # Create an image with compat=0.10 without a backing file 7 # Fill all clusters with data and then discard them 17 # Create an image with compat=1.1 without a backing file 19 # Fill all clusters with data and then discard them 30 ### Test 'qemu-io -c discard' on a QCOW2 image with a backing file 32 # Create a backing image and fill it with data 36 # Create an image with compat=0.10 and a backing file 38 # Fill all clusters with data and then discard them 49 # Create an image with compat=1.1 and a backing file 51 # Fill all clusters with data and then discard them
|
H A D | 210 | 21 # along with this program. If not, see <http://www.gnu.org/licenses/>. 32 with iotests.FilePath('t.luks') as disk_path, \ 60 # TODO Proper support for images to be used with imgopts and/or protocols 68 # Successful image creation (with non-default options) 70 iotests.log("=== Successful image creation (with non-default options) ===") 94 # TODO Proper support for images to be used with imgopts and/or protocols 130 # TODO Proper support for images to be used with imgopts and/or protocols 142 # with QAPI's implementation of the 'size' type and affects other commands as 147 # 3. 2^63 - 512 (generally valid, but with the crypto header the file will 161 # Resize image with invalid sizes [all …]
|
H A D | 314 | 4 # Test qemu-img rebase with compression 19 # along with this program. If not, see <http://www.gnu.org/licenses/>. 51 # 1. "qemu-img rebase -c" should refuse working with any format which doesn't 62 # with compression (i.e. "qemu-img -c -b ''"). Check that the resulting image 66 echo "=== Testing rebase with compression onto no backing file ===" 83 # 3. Same as the previous one, but with raw backing file (hence write to 86 echo "=== Testing rebase with compression with raw backing file ===" 105 # thirds of them, respectively (with compression). Rebase img onto base, 135 # (half - 1) bytes of the backing with data (uncompressed). Rebase the 136 # overlay onto no backing file with compression. Check that data is still [all …]
|
H A D | 036 | 22 # along with this program. If not, see <http://www.gnu.org/licenses/>. 54 echo === Image with unknown incompatible feature bit === 65 # With feature table containing bit 63 70 echo === Image with multiple incompatible feature bits === 81 # With feature table containing bit 63 85 # With feature table containing bit 61 90 # With feature table containing bits 61 and 62 95 # With feature table containing all bits 100 # With feature table containing unrelated bits, including compatible/autoclear 106 echo === Create image with unknown autoclear feature bit ===
|
H A D | 175.out | 3 == creating image with default preallocation == 7 == creating image with preallocation off == 11 == creating image with preallocation full == 15 == creating image with preallocation falloc == 19 == resize empty image with block_resize == 23 == resize empty image with block_resize ==
|
/qemu/include/qemu/ |
H A D | job.h | 22 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 51 * All callbacks are called with job_mutex *not* held. 126 * Set to true if the job is paused by user. Can be unpaused with the 189 * All callbacks are invoked with job_mutex *not* held. 273 * All jobs will complete with a call to either .commit() or .abort() but 283 * All jobs will complete with a call to either .commit() or .abort() but 366 * Release a reference that was previously acquired with job_txn_add_job or 369 * Called with job lock *not* held. 374 * Same as job_txn_unref(), but called with job lock held. 381 * Called with job_mutex *not* held. [all …]
|
H A D | timer.h | 67 * Timers with this attribute do not recorded in rr mode, therefore it could be 69 * with virtual clock type. 100 * Get the nanosecond value of a clock with 111 * Get the millisecond value of a clock with 125 * Get the microsecond value of a clock with 168 * calculations. Some clocks, for instance vm_clock with 186 * with a clock (as opposed to just the default one) 197 * Call the notifier callback connected with the default timer 221 * Run all the timers associated with the default timer list 231 * Run all the timers associated with the default timer list [all …]
|
/qemu/docs/system/ |
H A D | vnc-security.rst | 23 This ensures that only users on local box with read/write access to that 30 With passwords 41 is requested with the ``password`` option, and then once QEMU is running 42 the password is set with the monitor. Until the monitor is used to set 54 With x509 certificates 75 with file mode 0600 to only be readable by the user owning it. 79 With x509 certificates and client verification 85 This is a good choice if deploying in an environment with a private 87 but with ``verify-peer`` set to ``on`` instead. 97 With x509 certificates, client verification and passwords [all …]
|
/qemu/docs/devel/ |
H A D | control-flow-integrity.rst | 18 function. A compatible function is a function with the same signature of the 31 Building with CFI 37 To build with CFI, the minimum requirement is Clang 6+. If you 51 Using QEMU built with CFI 54 A binary with CFI will work exactly like a standard binary. In case of a CFI 55 violation, the binary will terminate with an illegal instruction signal. 57 Incompatible code with CFI 68 * Libraries loaded dynamically, e.g. with dlopen/dlsym, since the library was 71 Current areas of QEMU that are not entirely compatible with CFI are: 93 with CFI. An example of the use of ``QEMU_DISABLE_CFI`` is provided here:: [all …]
|
H A D | tcg-icount.rst | 12 with cycle accurate emulation - QEMU does not attempt to emulate how 18 incompatible with multi-threaded TCG. It can be used to better align 19 execution time with wall-clock time so a "slow" device doesn't run too 39 vCPU icount_decr field which shared with the machinery for handling 42 with whatever caused the exit. 47 loop and regenerate a new translation block with exactly the right 51 Dealing with MMIO 59 To deal with this case, when an I/O access is made we: 65 .. [1] sometimes two instructions if dealing with delay slots
|
/qemu/docs/about/ |
H A D | removed-features.rst | 17 (together with ``-drive if=none,id=dr,...``). 29 Note that the new syntax works with netdev IDs instead of the old "vlan" hubs. 36 (which also disables the KVM IOAPIC) can be obtained with 51 ``-device ...,drive=dr,cyls=c,heads=h,secs=s`` (together with 58 (together with ``-drive if=none,id=dr,...``). 65 has been removed. To connect one NIC frontend with a network backend, either 67 with ``-device ...,netdev=n`` (for full control over pluggable NICs). To 70 ``-netdev hubport,id=n,hubid=x,...`` (with ``-device ...,netdev=n``) instead. 92 ``-netdev user,id=x,bootp=/some/file`` (for pluggable NICs, accompanied with 102 (for pluggable NICs, accompanied with ``-device ...,netdev=x``) or by the option [all …]
|
H A D | deprecated.rst | 23 should exclusively use a non-deprecated machine type, with use of the most 69 described with -smp are supported by the target machine. 137 Member ``values`` in return value elements with meta-type ``enum`` is 143 Use ``blockdev-backup`` in combination with ``blockdev-add`` instead. 145 target with explicit, separate steps. ``blockdev-backup`` uses mostly the 154 To be removed with no replacement, as it reports only a limited set of 234 TCG Plugin support not enabled by default with TCI (since 9.2) 261 explicitly select one of these CPUs with the ``-cpu`` command line 306 In accordance with our versioned machine type deprecation policy, all machine 307 types with version |VER_MACHINE_DEPRECATION_VERSION|, or older, have been [all …]
|
/qemu/docs/system/s390x/ |
H A D | cpu-topology.rst | 17 Each bit set in the bitmap correspond to a core-id of a vCPU with matching 54 with the ``-smp`` or the ``-device`` QEMU command arguments. 77 based on the core-id starting with core-0 at position 0 of socket-0, 96 for the ``-device`` argument, like for all CPUs defined with the ``-smp`` 102 argument collides with the definition of a CPU implicitly defined 133 In the following machine we define 8 sockets with 4 cores each. 149 starting with core 0 in socket 0 up to maxcpus. 153 * There are 5 CPUs provided to the guest with the ``-smp`` command line 156 to the guest in socket 0, with core-ids 0,1,2,3. 157 The last CPU, with core-id 4, will be on socket 1. [all …]
|
H A D | bootdevices.rst | 4 Booting with bootindex parameter 12 device where you want to boot from with the ``bootindex`` property, for 19 device to IPL first. If the IPL fails for the first, the device with the second 41 not specify a boot device with the ``bootindex`` property, there is still a 45 It is really recommended to always specify the boot device with the 50 specify the ``bootindex`` with these commands. Note that the convenience 53 virtio-blk device with this parameter instead, which might not be the right 59 Selecting kernels with the ``loadparm`` property 74 disk image with 4k byte sectors. On normal SCSI-style disks with 512-byte 81 to automatically boot the kernel that is associated with the given number. [all …]
|
/qemu/include/crypto/ |
H A D | hash.h | 18 * License along with this library; if not, see <http://www.gnu.org/licenses/>. 87 * The memory referenced in @result must be released with a call 119 * The memory referenced in @result must be released with a call 141 * filled with the printable hex digest of the computed 144 * with a call to g_free() when no longer required. 161 * Updates the given hash object with all the memory regions 177 * Updates the given hash object with the data from 195 * The @digest pointer will be filled with the printable hex digest of the 197 * in @digest must be released with a call to g_free() when 214 * The @base64 pointer will be filled with the base64 encoding of the computed [all …]
|
/qemu/linux-headers/linux/ |
H A D | kvm.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 308 /* Available with KVM_CAP_INTERNAL_ERROR_DATA: */ 319 * compatible with "struct internal". Take special care that 993 * Available with KVM_CAP_IRQFD_RESAMPLE 1042 /* Available with KVM_CAP_ONE_REG */ 1049 * ORed with the arch identifier. 1103 * Device control API, available with KVM_CAP_DEVICE_CTRL 1213 /* Available with KVM_CAP_PIT_STATE2 */ 1216 /* Available with KVM_CAP_PPC_GET_PVINFO */ 1218 /* Available with KVM_CAP_TSC_CONTROL for a vCPU, or with [all …]
|
/qemu/docs/devel/testing/ |
H A D | main.rst | 20 An automated test is written with one of the test frameworks using its 29 3. An assertion, comparing the result from the previous call with the expected 37 Testing with "make check" 52 expect the executables to exist and will fail with obscure messages if they 68 In QEMU, unit tests can be invoked with ``make check-unit``. They are 80 test. The test code should be organized with the glib testing framework. 85 dependencies to be linked with the test. For a simple test whose source 113 clock stepping), with a special purpose "qtest" protocol. Refer to 116 QTest cases can be executed with 146 written data with the original one, be sure to pass the letter 'b' as [all …]
|
/qemu/tests/multiboot/ |
H A D | modules.out | 6 Module list with 0 entries at 102000 11 Module list with 1 entries at 102000 18 Module list with 1 entries at 102000 23 === Running test case: modules.elf -initrd module.txt argument,,with,,commas === 25 Module list with 1 entries at 102000 26 [102000] Module: 103000 - 103038 (56 bytes) 'module.txt argument,with,commas' 32 Module list with 3 entries at 102000
|
/qemu/docs/interop/ |
H A D | qmp-spec.rst | 15 is available for host applications to interact with the guest 27 "Client" is any application communicating with it via QMP. 57 terminating with CRLF. 115 - The ``id`` member is a transaction identification associated with the 129 With out-of-band execution enabled via `capabilities negotiation`_, 138 to pass ``id`` with out-of-band commands. Passing it with all commands 157 As long as the commands were issued with a proper ``id`` field, then the 179 with the command execution if issued by the Client. 195 - The ``id`` member contains the transaction identification associated with 222 occurred in the Server. It is a fixed json-object with time in [all …]
|
H A D | firmware.json | 26 # that is commonly used with QEMU virtual machines. 119 # enabled with "-global PIIX4_PM.disable_s3=0" and disabled 120 # with "-global PIIX4_PM.disable_s3=1". On the "pc-q35-*" 122 # can be enabled with "-global ICH9-LPC.disable_s3=0" and 123 # disabled with "-global ICH9-LPC.disable_s3=1". 128 # can be enabled with "-global PIIX4_PM.disable_s4=0" and 129 # disabled with "-global PIIX4_PM.disable_s4=1". On the 131 # targets, S4 can be enabled with "-global 132 # ICH9-LPC.disable_s4=0" and disabled with "-global 156 # @enrolled-keys: The variable store (NVRAM) template associated with [all …]
|
/qemu/docs/ |
H A D | multiseat.txt | 2 multiseat howto (with some multihead coverage) 8 First you must compile qemu with a user interface supporting 44 Starting with qemu 2.4 and linux kernel 4.1 you can also use virtio 57 The sdl2 ui will start up with two windows, one for each display 58 device. The gtk ui will start with a single window and each display 85 You need a pretty recent linux guest. systemd with loginctl. kernel 86 3.14+ with CONFIG_DRM_BOCHS enabled. Fedora 20 will do. Must be 91 should list the pci bridge with the display adapter and usb controller: 106 Reboot. System should come up with two seats. With loginctl you can 123 guest side with pci-bridge-seat [all …]
|
/qemu/docs/specs/ |
H A D | fw_cfg.rst | 49 items are accessed with a selector value between 0x0000-0x7fff, and 50 architecture specific configuration items are accessed with a selector 76 associated with the item. After the data offset has passed the 100 The fw_cfg device is defined with ACPI ID ``QEMU0002``. Since we expect 188 offset 4) triggers an operation. This means that operations with 32-bit 189 addresses can be triggered with just one write, whereas operations with 190 64-bit addresses can be triggered with one 64-bit write or two 32-bit writes, 191 starting with the most significant half (at offset 0). 225 with the current selector (i.e., the item cannot be resized). Truncated writes 247 Since v2.4, "file" fw_cfg items (i.e., items with selector keys above [all …]
|
/qemu/tcg/tci/ |
H A D | README | 28 The bytecode consists of opcodes (with only a few exceptions, with 44 For hosts with native TCG, the interpreter TCI can be enabled by 48 The only difference from running QEMU with TCI to running without TCI 50 useful to compare runs with and without TCI. Create /tmp/qemu.log by 54 once with interpreter and once without interpreter and compare the resulting 59 Hosts with native TCG can also enable TCI by claiming to be unsupported: 70 host and target with same or different endianness. 105 A cross compiled QEMU for i386 host also works with the same basic tests. 109 A cross compiled QEMU for arm host works (tested with pc bios).
|