/qemu/docs/ |
H A D | image-fuzzer.txt | 15 # You should have received a copy of the GNU General Public License 45 generator should be specified as a mandatory parameter of the test runner. 67 In the latter case a parent element should be placed on the first position, 145 The file should be created if it doesn't exist or overwritten otherwise. 174 1. Should be able to inject random data 175 2. Should be able to select a random value from the manually pregenerated 177 3. Image template should describe a general structure invariant for all 179 4. Image template should be autonomous and other fuzzer parts should not 181 5. Image template should contain reference rules (not only block+size 183 6. Should generate the test image with the correct structure based on an image [all …]
|
H A D | block-replication.txt | 97 (called active-disk). It should start as an empty disk, and the format 98 should support bdrv_make_empty() and backing file. 101 that is modified by the primary VM. It should also start as an empty disk, 107 the primary disk and secondary disk should contain the same data. 147 Secondary Disk and stop block replication. The vm should be stopped 171 1. There should be only one NBD Client for each primary disk. 174 4. It is all a single argument to -drive and you should ignore the 216 4. Active disk, hidden disk and nbd target's length should be the 219 6. It is all a single argument to -drive, and you should ignore 224 The secondary host is down, so we should run the following qmp command [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 112 | 18 # You should have received a copy of the GNU General Public License 83 # Should work 87 # Should not work 101 # Should fail for now; in the future, this might be supported by automatically 105 # The new L1 table could/should be leaked 117 # Should succeed 120 # Should fail (4th reference) 123 # The new L1 table could/should be leaked 133 # Both should fit into a single host cluster; instead of failing to increase the 134 # refcount of that cluster, qemu should just allocate a new cluster and make [all …]
|
H A D | 293.out | 15 == all secrets should work == 37 == trying to add another slot (should fail) == 40 == all secrets should work again == 56 == only secret3 should work now == 66 == only secret0 should work now == 73 == replace secret0 with secret1 (should fail) == 76 == replace secret0 with secret1 with force (should work) == 78 == only secret1 should work now == 85 == erase last secret (should fail) == 88 == erase non existing secrets (should fail) == [all …]
|
H A D | 097 | 19 # You should have received a copy of the GNU General Public License 81 # -b "$TEST_IMG.itmd" should be the default (that is, committing to the 85 # explicitly specify the commit target (this should imply -d) 93 # Bottom should be unchanged 97 # Intermediate should contain changes from top 103 # And in pass 0, the top image should be empty, whereas in both other passes 104 # it should be unchanged (which is both checked by qemu-img map) 108 # Bottom should contain all changes 114 # Both top and intermediate should be unchanged
|
H A D | 182 | 18 # You should have received a copy of the GNU General Public License 56 echo "Starting a second QEMU using the same image should fail" 70 # This tests that reopening does not unshare any permissions it should 83 # This should keep all permissions shared. 96 # It should still keep all permissions shared. 135 # reopening node0 unshared any (which it should not have), this will 136 # fail (but it should not). 161 # However, that is not fatal, so it should just move on.
|
H A D | 162 | 19 # You should have received a copy of the GNU General Public License 49 # So this should not crash 52 # And this should not treat @port as if it had not been specified 82 # So "0" should be converted to an integer here (instead of crashing) 88 # This, however, should fail because of the wrong type 91 # qemu should not try to convert "0.42" to an integer 99 # bdrv_refresh_filename() implementation should not assume that they have been 101 # So this should emit blkdebug:42:null-co:// as the filename:
|
H A D | 293 | 19 # You should have received a copy of the GNU General Public License 93 echo "== all secrets should work ==" 109 # at this point slots 1 and 3 should be active 126 echo "== trying to add another slot (should fail) ==" 130 echo "== all secrets should work again ==" 151 echo "== only secret3 should work now ==" 164 echo "== only secret0 should work now ==" 170 echo "== replace secret0 with secret1 (should fail) ==" 174 echo "== replace secret0 with secret1 with force (should work) ==" 178 echo "== only secret1 should work now ==" [all …]
|
H A D | 251 | 18 # You should have received a copy of the GNU General Public License 138 # image, we should see one block status warning per element of 143 # should reappear. Interleaved with those we should see a read 154 # The offsets where the block status could not be determined should 155 # have been treated as containing data and thus should be correct in 157 # The offsets where reading failed altogether should be 0. Make them 168 # These should be equal now.
|
H A D | 252 | 18 # You should have received a copy of the GNU General Public License 86 # This should be a no-op 98 # Verify the allocation status (first four cluster should be allocated 99 # in TEST_IMG, clusters 4 and 5 should be unallocated (marked as zero 116 # Verify the allocation status (first four cluster should be allocated 117 # in TEST_IMG, cluster 4 should be zero, and cluster 5 should be
|
H A D | 125 | 18 # You should have received a copy of the GNU General Public License 69 # even though it should allocate the first two blocks (because our 86 # (Thus, the on-disk size should not increase) 140 # The image length should not have grown 145 # The host size should not have grown either 154 # The image length should not have grown 159 # The host size should not have grown either 181 # The first part of the image should contain data from the backing file 183 # The resized part of the image should contain zeroes 186 # actual size. The resized image should have 7 clusters:
|
H A D | 089 | 18 # You should have received a copy of the GNU General Public License 81 # This should fail (see test 072) 91 # This should read 42 94 # This should read 0 115 # the same (which they should). 140 # Both options given directly and those given in the filename should be used 144 # Options given directly should be prioritized over those given in the filename
|
H A D | 060 | 18 # You should have received a copy of the GNU General Public License 82 # The corrupt bit should not be set anyway 91 # This information should be available through qemu-img info 94 # Try to open the image R/W (which should fail) 99 # Try to open it RO (which should succeed) 102 # We could now try to fix the image, but this would probably fail (how should an 124 # The corrupt bit should be cleared 248 # Should only emit a single error message 258 # Should emit two error messages 330 # Open the image (qemu should refuse to do so) [all …]
|
H A D | 110 | 18 # You should have received a copy of the GNU General Public License 55 # qemu should be able to reconstruct the filename, so relative backing names 56 # should work 70 # alone. However, using bdrv_dirname(), it should still work. 94 # omit the image size; it should work anyway 103 # Should inform us that the actual path of the backing file cannot be determined
|
H A D | 176 | 23 # You should have received a copy of the GNU General Public License 114 # -b "$TEST_IMG.itmd" should be the default (that is, committing to the 118 # explicitly specify the commit target (this should imply -d) 126 # Bottom should be unchanged 130 # Intermediate should contain changes from top 136 # And in pass 0, the top image should be empty, whereas in both other passes 137 # it should be unchanged (which is both checked by qemu-img map) 141 # Bottom should contain all changes 147 # Both top and intermediate should be unchanged
|
/qemu/docs/system/ |
H A D | generic-loader.rst | 33 Set to true if the data to be stored on the guest should be written 37 The number of the CPU's address space where the data should be 42 will be parsed as decimal. To use hex values the user should prefix the number 61 The number of the CPU whose PC should be set to the specified value. 65 will be parsed as decimal. To use hex values the user should prefix the number 85 The memory address where the file should be loaded. This is required 89 This specifies the CPU that should be used. This is an 92 specified in the executable format header. This option should only 104 will be parsed as decimal. To use hex values the user should prefix the number 117 now) should be exposed to the user so that they can choose if the PC
|
H A D | cpu-models-x86.rst.inc | 123 The following are important CPU features that should be used on Intel 134 Should be explicitly turned on for Westmere, SandyBridge, and 173 Should be explicitly turned on for all Intel CPU models. 198 So it should only be enabled for VMs if the host reports @code{Not 208 It should only be enabled for VMs if the host reports ``Not affected`` 234 the guest should report ``Mitigation: TSX disabled``. 243 It should only be enabled for VMs if the host reports 254 It should only be enabled for VMs if the host reports ``Not affected`` 265 It should only be enabled for VMs if the host reports ``Not affected`` 301 The following are important CPU features that should be used on AMD x86 [all …]
|
/qemu/tests/qemu-iotests/tests/ |
H A D | fuse-allow-other | 18 # You should have received a copy of the GNU General Public License 106 # Should always work 111 # Should always work 116 # Should only work with allow-other: Otherwise, no permissions can be 130 # If the only problem were the lack of permissions, we should still be able 131 # to stat the export as nobody; it should not work without allow-other, 140 # Should fail 142 # Should work with allow_other 156 # 'auto' should behave exactly like 'on', because 'on' tests that
|
/qemu/docs/specs/ |
H A D | pvpanic.rst | 19 recognized by the device are set. Software should ignore bits it doesn't 21 Software should set only bits both itself and the device recognize. 27 a guest panic has happened and should be processed by the host 30 the host should record it or report it, but should not affect 33 a regular guest shutdown has happened and should be processed by the host
|
/qemu/tests/functional/ |
H A D | test_mem_addr_space.py | 53 memory, maxmem should be set to a maximum value of 59.5 GiB to ensure 56 59.6G, QEMU should fail to start with a message "phy-bits are too low". 58 should start fine. 69 self.assertEqual(self.vm.exitcode(), 1, "QEMU exit code should be 1") 87 self.assertEqual(self.vm.exitcode(), 1, "QEMU exit code should be 1") 146 4 GiB should make QEMU fail to start with "phys-bits too low" 159 self.assertEqual(self.vm.exitcode(), 1, "QEMU exit code should be 1") 175 which is equal to 987.5 GiB. Setting the value to 988 GiB should 187 self.assertEqual(self.vm.exitcode(), 1, "QEMU exit code should be 1") 208 self.assertEqual(self.vm.exitcode(), 1, "QEMU exit code should be 1") [all …]
|
/qemu/include/hw/ |
H A D | register.h | 32 * @rsvd: Bits that are reserved and should not be changed 38 * effects should be implemented here. This is called during device reset. 120 * @prefix: The device prefix that should be printed before the register name 121 * @debug: Should the write operation debug information be printed? 131 * @prefix: The device prefix that should be printed before the register name 132 * @debug: Should the read operation debug information be printed? 188 * memory region (r_array->mem) the caller should add to a container. 216 * This function should be called to cleanup the registers that were initialized 217 * when calling register_init_block32(). This function should only be called
|
/qemu/docs/devel/ |
H A D | writing-monitor-commands.rst | 14 New commands may be implemented in QMP only. New HMP commands should be 26 Generally speaking, the following steps should be taken in order to write a 33 the command should be exported by some QEMU subsystem. But it can also be 38 4. Write the HMP command equivalent. This is not required and should only be 52 First, QEMU should be started like this:: 85 Then the server should respond:: 138 return errors and take additional arguments. The Error argument should not 218 You should see "Hello, world" and "We love QEMU" in the terminal running QEMU, 225 QMP commands should use the error interface exported by the error.h header 253 The QMP server's response should be:: [all …]
|
H A D | style.rst | 91 Lines should be 80 characters; try not to make them longer. 118 names and function type names should also be in CamelCase. Scalar type 140 that are widely called from across the codebase should not have any 146 However, if there is an obvious subsystem-specific prefix it should be 206 blocks) are generally not allowed; declarations should be at the beginning 247 Multiline comment blocks should have a row of stars on the left, 303 Headers should normally include everything they need beyond osdep.h. 316 harder. You should consider carefully if the same effect can be 320 If you do use template header files they should be named with the 327 It should be common sense to use the right type, but we have collected [all …]
|
/qemu/docs/interop/ |
H A D | parallels.rst | 89 - If data_off is non-zero, the offset should be aligned to sector 99 Bit 0: Empty Image bit. If set, the image should be 122 If a BAT entry is zero, the corresponding cluster is not allocated and should 142 should meet the same requirements as clusters specified by BAT entries. 174 unknown magic number or error), the file should not be 176 loading the extension, said extension should be dropped. 180 said extension should be left as is. 182 If neither NECESSARY nor TRANSIT are set, the extension should be 206 The bitmap size, should be equal to disk size in sectors.
|
/qemu/linux-user/include/ |
H A D | special-errno.h | 14 * They should be chosen so as to not overlap with any host 19 * This is returned when a system call should be restarted, to tell the 20 * main loop that it should wind the guest PC backwards so it will 28 * should not touch them.
|