/qemu/block/ |
H A D | qed-check.c | 2 * QEMU Enhanced Disk Format Consistency Check 40 * @check: Check structure 44 static bool qed_set_used_clusters(QEDCheck *check, uint64_t offset, in qed_set_used_clusters() argument 47 uint64_t cluster = qed_bytes_to_clusters(check->s, offset); in qed_set_used_clusters() 52 if (qed_test_bit(check->used_clusters, cluster)) { in qed_set_used_clusters() 56 qed_set_bit(check->used_clusters, cluster); in qed_set_used_clusters() 60 check->result->corruptions += corruptions; in qed_set_used_clusters() 65 * Check an L2 table 69 static unsigned int qed_check_l2_table(QEDCheck *check, QEDTable *table) in qed_check_l2_table() argument 71 BDRVQEDState *s = check->s; in qed_check_l2_table() [all …]
|
/qemu/tests/qemu-iotests/ |
H A D | 083.out | 2 === Check disconnect before neg1 === 6 === Check disconnect after neg1 === 10 === Check disconnect 8 neg1 === 14 === Check disconnect 16 neg1 === 18 === Check disconnect before export === 22 === Check disconnect after export === 26 === Check disconnect 4 export === 30 === Check disconnect 12 export === 34 === Check disconnect 16 export === 38 === Check disconnect before neg2 === [all …]
|
H A D | 137 | 53 # Try all options and then check that all of the basic I/O operations still 60 -c "reopen -o overlap-check=all" \ 61 -c "reopen -o overlap-check=none" \ 62 -c "reopen -o overlap-check=cached" \ 63 -c "reopen -o overlap-check=constant" \ 64 -c "reopen -o overlap-check.template=all" \ 65 -c "reopen -o overlap-check.template=none" \ 66 -c "reopen -o overlap-check.template=cached" \ 67 -c "reopen -o overlap-check.template=constant" \ 68 -c "reopen -o overlap-check.main-header=on" \ [all …]
|
H A D | 233.out | 18 == check TLS client to plain server fails == 23 == check plain client to TLS server fails == 29 == check TLS works == 44 == check TLS fail over TCP with mismatched hostname == 48 == check TLS works over TCP with mismatched hostname and override == 59 == check TLS with different CA fails == 71 == check TLS with authorization == 75 == check TLS fail over UNIX with no hostname == 79 == check TLS works over UNIX with hostname override == 90 == check TLS works over UNIX with PSK == [all …]
|
H A D | 314 | 52 # support compression. We only check "-f raw" here. 62 # with compression (i.e. "qemu-img -c -b ''"). Check that the resulting image 63 # has the written data preserved, and "qemu-img check" reports 100% clusters 81 $QEMU_IMG check "$TEST_IMG" | _filter_testdir 102 $QEMU_IMG check "$TEST_IMG" | _filter_testdir 106 # effectively deleting itmd from the chain, and check that written data is 107 # preserved in the resulting image. Also check that "qemu-img check" reports 132 $QEMU_IMG check "$TEST_IMG" | _filter_testdir 136 # overlay onto no backing file with compression. Check that data is still 137 # read correctly, and that cluster is now really compressed ("qemu-img check" [all …]
|
H A D | 133.out | 5 === Check that node-name can't be changed === 11 === Check that unchanged node-name is okay === 14 === Check that driver can't be changed === 20 === Check that unchanged driver is okay === 23 === Check that reopening works with non-string options === 28 === Check that mixing -c/-r/-w and their corresponding options is forbidden === 36 === Check that invalid options are handled correctly ===
|
H A D | 260.out | 9 check that no bitmaps are in snapshot: not found 16 check bitmap after commit: name=bitmap0 dirty-clusters=2 17 check updated bitmap: name=bitmap0 dirty-clusters=3 26 check that no bitmaps are in snapshot: not found 33 check bitmap after commit: name=bitmap0 dirty-clusters=2 34 check updated bitmap: name=bitmap0 dirty-clusters=3 43 check that no bitmaps are in snapshot: not found 51 check bitmap after commit: name=bitmap0 dirty-clusters=2 52 check updated bitmap: name=bitmap0 dirty-clusters=3
|
H A D | 207.out | 17 === Test host-key-check options === 21 …": {"job-id": "job0", "options": {"driver": "ssh", "location": {"host-key-check": {"mode": "none"}… 32 …": {"job-id": "job0", "options": {"driver": "ssh", "location": {"host-key-check": {"mode": "known_… 43 …": {"job-id": "job0", "options": {"driver": "ssh", "location": {"host-key-check": {"hash": "wrong"… 49 …": {"job-id": "job0", "options": {"driver": "ssh", "location": {"host-key-check": {"hash": "HASH",… 60 …": {"job-id": "job0", "options": {"driver": "ssh", "location": {"host-key-check": {"hash": "wrong"… 66 …": {"job-id": "job0", "options": {"driver": "ssh", "location": {"host-key-check": {"hash": "HASH",… 77 …": {"job-id": "job0", "options": {"driver": "ssh", "location": {"host-key-check": {"hash": "wrong"… 83 …": {"job-id": "job0", "options": {"driver": "ssh", "location": {"host-key-check": {"hash": "HASH",… 94 …": {"job-id": "job0", "options": {"driver": "ssh", "location": {"host-key-check": {"mode": "none"}… [all …]
|
H A D | 207 | 76 # Test host-key-check options 78 iotests.log("=== Test host-key-check options ===") 92 'host-key-check': { 112 'host-key-check': { 179 'host-key-check': { 194 'host-key-check': { 216 'host-key-check': { 230 'host-key-check': { 252 'host-key-check': { 266 'host-key-check': { [all …]
|
H A D | 138 | 4 # General test case for qcow2's image check 45 # (so qemu-img check would not do much); 51 echo '=== Check on an image with a multiple of 2^32 clusters ===' 64 # An offset of 32 PB results in qemu-img check having to allocate an in-memory 66 # don't check that referenced data cluster is far beyond the end of file. 67 # But starting from 4.0, qemu-img does this check, and instead of "Cannot 72 echo '=== Check leaks-fixed/corruptions-fixed report' 76 # reported by qemu-img check
|
H A D | 171.out | 14 check that offset is respected 55 write zeroes and check 65 write zeroes at image boundary and check 77 discard and check 87 discard at image boundary and check 106 check that offset is respected 147 write zeroes and check 157 write zeroes at image boundary and check 171 discard and check 181 discard at image boundary and check [all …]
|
/qemu/tests/ |
H A D | Makefile.include | 3 .PHONY: check-help 4 check-help: 6 …@echo " $(MAKE) check Run block, qapi-schema, unit, softfloat, qtest and decode… 10 @echo " $(MAKE) check-qtest-TARGET Run qtest tests for given target" 11 @echo " $(MAKE) check-qtest Run qtest tests" 12 @echo " $(MAKE) check-functional Run python-based functional tests" 13 @echo " $(MAKE) check-functional-TARGET Run functional tests for a given target" 14 @echo " $(MAKE) check-unit Run qobject tests" 15 @echo " $(MAKE) check-qapi-schema Run QAPI schema tests" 16 @echo " $(MAKE) check-block Run block tests" [all …]
|
/qemu/python/ |
H A D | Makefile | 9 @echo "make check-minreqs:" 15 @echo "make check-tox:" 23 @echo "make check-dev:" 28 @echo "make check:" 33 @echo " Install deps needed for 'make check'," 41 @echo " Creates a simple venv for check-dev. ($(QEMU_VENV_DIR))" 52 .PHONY: pipenv check-pipenv 53 pipenv check-pipenv: 54 @echo "pipenv was dropped; try 'make check-minreqs' or 'make min-venv'" 57 PIP_INSTALL = pip install --disable-pip-version-check [all …]
|
/qemu/.gitlab-ci.d/ |
H A D | buildtest.yml | 13 MAKE_CHECK_ARGS: check-build 16 check-system-alpine: 23 MAKE_CHECK_ARGS: check-unit check-qtest 32 MAKE_CHECK_ARGS: check-functional 44 MAKE_CHECK_ARGS: check-build check-doc 46 check-system-ubuntu: 53 MAKE_CHECK_ARGS: check 62 MAKE_CHECK_ARGS: check-functional 75 MAKE_CHECK_ARGS: check-build 77 check-system-debian: [all …]
|
H A D | static_checks.yml | 1 check-patch: 7 - .gitlab-ci.d/check-patch.py 15 check-dco: 20 script: .gitlab-ci.d/check-dco.py 26 check-python-minreqs: 31 - make -C python check-minreqs 37 check-python-tox: 42 - make -C python check-tox 50 check-rust-tools-nightly: 58 - pyvenv/bin/meson devenv -w ../rust ${CARGO-cargo} fmt --check [all …]
|
H A D | cirrus.yml | 46 TEST_TARGETS: check 60 TEST_TARGETS: check-unit check-block check-qapi-schema check-softfloat check-qtest-x86_64
|
/qemu/tests/qtest/ |
H A D | stm32l4x5_exti-test.c | 182 /* Check that there are no interrupts already pending in PR */ in test_software_interrupt() 184 /* Check that this specific interrupt isn't pending in NVIC */ in test_software_interrupt() 193 /* Check that the write in SWIER was effective */ in test_software_interrupt() 195 /* Check that the corresponding pending bit in PR is set */ in test_software_interrupt() 197 /* Check that the corresponding interrupt is pending in the NVIC */ in test_software_interrupt() 203 /* Check that the write in PR was effective */ in test_software_interrupt() 205 /* Check that the corresponding bit in SWIER was cleared */ in test_software_interrupt() 207 /* Check that the interrupt is still pending in the NVIC */ in test_software_interrupt() 216 /* Check that there are no interrupts already pending */ in test_software_interrupt() 226 /* Check that the write in SWIER was effective */ in test_software_interrupt() [all …]
|
H A D | aspeed-hace-utils.c | 176 /* Check engine is idle, no busy or irq bits set */ in aspeed_test_md5() 185 /* Check hash IRQ status is asserted */ in aspeed_test_md5() 188 /* Clear IRQ status and check status is deasserted */ in aspeed_test_md5() 195 /* Check result of computation */ in aspeed_test_md5() 210 /* Check engine is idle, no busy or irq bits set */ in aspeed_test_sha256() 219 /* Check hash IRQ status is asserted */ in aspeed_test_sha256() 222 /* Clear IRQ status and check status is deasserted */ in aspeed_test_sha256() 229 /* Check result of computation */ in aspeed_test_sha256() 244 /* Check engine is idle, no busy or irq bits set */ in aspeed_test_sha384() 253 /* Check hash IRQ status is asserted */ in aspeed_test_sha384() [all …]
|
H A D | sse-timer-test.c | 70 * isn't a full reset, but it's sufficient for what the tests check. in reset_counter_and_timer() 84 /* The counter should start disabled: check that it doesn't move */ in test_counter() 88 /* Now enable it and check that it does count */ in test_counter() 93 /* Check the counter scaling functionality */ in test_counter() 134 /* Check TVAL view of the counter */ in test_timer() 137 /* Advance to the CompareValue mark and check ISTATUS is set */ in test_timer() 146 /* Check AIVAL was reloaded and that ISTATUS is now clear */ in test_timer() 152 * Check that when we advance forward to the reload time the interrupt in test_timer() 164 /* Check that writing 0 to CLR clears the interrupt */ in test_timer() 167 /* Check that when we move forward to the reload time it fires again */ in test_timer() [all …]
|
/qemu/tests/qemu-iotests/tests/ |
H A D | parallels-checks.out | 3 == TEST OUT OF IMAGE CHECK == 13 == TEST LEAK CHECK == 31 == check last cluster == 35 == TEST DUPLICATION CHECK == 42 == check second cluster == 46 == check second cluster == 58 == check the first cluster == 61 == check second cluster == 67 == check the first cluster == 70 == check the second cluster (deduplicated) == [all …]
|
H A D | parallels-checks | 4 # Test qemu-img check for parallels format 57 echo "== TEST OUT OF IMAGE CHECK ==" 72 echo "== TEST LEAK CHECK ==" 93 echo "== check last cluster ==" 99 echo "== TEST DUPLICATION CHECK ==" 107 echo "== check second cluster ==" 114 echo "== check second cluster ==" 120 echo "== check the first cluster ==" 123 echo "== check second cluster ==" 129 echo "== check the first cluster ==" [all …]
|
/qemu/hw/display/ |
H A D | virtio-gpu-rutabaga.c | 16 #define CHECK(condition, cmd) \ macro 19 error_report("CHECK failed in %s() %s:" "%d", __func__, \ 100 CHECK(!result, cmd); in rutabaga_cmd_create_resource_2d() 139 CHECK(!result, cmd); in rutabaga_cmd_create_resource_3d() 189 CHECK(res, cmd); in rutabaga_cmd_resource_unref() 198 CHECK(!result, cmd); in rutabaga_cmd_resource_unref() 216 CHECK(!result, cmd); in rutabaga_cmd_context_create() 232 CHECK(!result, cmd); in rutabaga_cmd_context_destroy() 257 CHECK(res, cmd); in rutabaga_cmd_resource_flush() 284 CHECK(!result, cmd); in rutabaga_cmd_resource_flush() [all …]
|
/qemu/ |
H A D | .travis.yml | 34 - TEST_CMD="make check V=1" 82 - name: "[aarch64] GCC check-tcg" 113 - TEST_CMD="make check check-tcg V=1" 117 - name: "[ppc64] Clang check-tcg" 149 - TEST_CMD="make check check-tcg V=1" 153 - name: "[s390x] GCC check-tcg" 184 - TEST_CMD="make check check-tcg V=1" 240 - TEST_CMD="make check check-tcg V=1" 273 - TEST_CMD="make check-unit"
|
/qemu/tests/unit/ |
H A D | meson.build | 5 'check-block-qdict': [], 6 'check-qdict': [], 7 'check-qnum': [], 8 'check-qstring': [], 9 'check-qlist': [], 10 'check-qnull': [], 11 'check-qobject': [], 12 'check-qjson': [], 13 'check-qlit': [], 43 'check-qom-interface': [qom], [all …]
|
/qemu/target/riscv/insn_trans/ |
H A D | trans_rvvk.c.inc | 24 #define GEN_VV_MASKED_TRANS(NAME, CHECK) \ 27 if (CHECK(s, a)) { \ 44 #define GEN_VX_MASKED_TRANS(NAME, CHECK) \ 47 if (CHECK(s, a)) { \ 68 #define GEN_OPIVI_GVEC_TRANS_CHECK(NAME, IMM_MODE, OPIVX, SUF, CHECK) \ 71 if (CHECK(s, a)) { \ 84 #define GEN_OPIVV_GVEC_TRANS_CHECK(NAME, SUF, CHECK) \ 87 if (CHECK(s, a)) { \ 99 #define GEN_OPIVX_GVEC_SHIFT_TRANS_CHECK(NAME, SUF, CHECK) \ 102 if (CHECK(s, a)) { \ [all …]
|