Home
last modified time | relevance | path

Searched full:cancel (Results 1 – 25 of 149) sorted by relevance

123456

/qemu/backends/tpm/
H A Dtpm_passthrough.c164 * As of Linux 3.7 the tpm_tis driver does not properly cancel in tpm_passthrough_cancel_cmd()
166 * Only cancel if we're busy so we don't cancel someone else's in tpm_passthrough_cancel_cmd()
178 error_report("Cannot cancel TPM command due to missing " in tpm_passthrough_cancel_cmd()
179 "TPM sysfs cancel entry"); in tpm_passthrough_cancel_cmd()
206 * determine the sysfs cancel file following kernel documentation
208 * From /dev/tpm0 create /sys/class/tpm/tpm0/device/cancel
209 * before 4.0: /sys/class/misc/tpm0/device/cancel
220 error_report("tpm_passthrough: Could not open TPM cancel path: %s", in tpm_passthrough_open_sysfs_cancel()
234 if (snprintf(path, sizeof(path), "/sys/class/tpm/%s/device/cancel", in tpm_passthrough_open_sysfs_cancel()
238 if (snprintf(path, sizeof(path), "/sys/class/misc/%s/device/cancel", in tpm_passthrough_open_sysfs_cancel()
[all …]
/qemu/tests/qemu-iotests/
H A D21871 log('=== Cancel mirror job before convergence ===')
82 log(vm.qmp('block-job-cancel', device='mirror', force=False))
96 log(vm.qmp('block-job-cancel', device='mirror', force=True))
103 log('=== Cancel mirror job after convergence ===')
116 log(vm.qmp('block-job-cancel', device='mirror', force=False))
132 log(vm.qmp('block-job-cancel', device='mirror', force=True))
138 log('=== Cancel mirror job from throttled node by quitting ===')
H A D218.out2 === Cancel mirror job before convergence ===
16 === Cancel mirror job after convergence ===
32 === Cancel mirror job from throttled node by quitting ===
H A D141.out10 {"execute": "block-job-cancel", "arguments": {"device": "job0"}}
24 {"execute": "block-job-cancel", "arguments": {"device": "job0"}}
38 {"execute": "block-job-cancel", "arguments": {"device": "job0"}}
51 {"execute": "block-job-cancel", "arguments": {"device": "job0"}}
64 {"execute": "block-job-cancel", "arguments": {"device": "job0"}}
H A D229.out25 === Force cancel job paused in error state ===
27 {'execute': 'block-job-cancel',
H A D22992 echo '=== Force cancel job paused in error state ==='
99 "{'execute': 'block-job-cancel',
H A D20077 echo === Sending stream/cancel, checking for SIGSEGV only ===
92 'execute': 'block-job-cancel',
H A D200.out12 === Sending stream/cancel, checking for SIGSEGV only ===
/qemu/qapi/
H A Djob.json94 # @cancel: see @job-cancel
113 'data': ['cancel', 'pause', 'resume', 'set-speed', 'complete', 'dismiss',
169 # @job-cancel:
171 # Instruct an active background job to cancel at the next opportunity.
175 # The job will cancel as soon as possible and then emit a
178 # because it was almost done and there was no opportunity to cancel
185 { 'command': 'job-cancel', 'data': { 'id': 'str' } }
227 # the JOB_READY event, job-cancel or job-complete will still need to
H A Dtpm.json80 # @cancel-path: string showing the TPM's sysfs cancel file for
87 '*cancel-path': 'str' },
180 # { "cancel-path": "/sys/class/misc/tpm0/device/cancel",
H A Dtransaction.json26 # @individual: Do not attempt to cancel any other Actions if any
31 # @grouped: If any Action fails after the Transaction succeeds, cancel
/qemu/include/block/
H A Dblock-copy.h89 * Cancel running block-copy call.
91 * Cancel leaves block-copy state valid: dirty bits are correct and you may use
92 * cancel + <run block_copy with same parameters> to emulate pause/resume.
94 * Note also, that the cancel is async: it only marks block-copy call to be
/qemu/tests/unit/
H A Dtest-blockjob.c398 g_test_add_func("/blockjob/cancel/created", test_cancel_created); in main()
399 g_test_add_func("/blockjob/cancel/running", test_cancel_running); in main()
400 g_test_add_func("/blockjob/cancel/paused", test_cancel_paused); in main()
401 g_test_add_func("/blockjob/cancel/ready", test_cancel_ready); in main()
402 g_test_add_func("/blockjob/cancel/standby", test_cancel_standby); in main()
403 g_test_add_func("/blockjob/cancel/pending", test_cancel_pending); in main()
404 g_test_add_func("/blockjob/cancel/concluded", test_cancel_concluded); in main()
H A Dtest-thread-pool.c148 /* Start long running jobs, to ensure we can cancel some. */ in do_test_cancel()
170 /* Cancel the jobs that haven't been started yet. */ in do_test_cancel()
243 g_test_add_func("/thread-pool/cancel", test_cancel); in main()
244 g_test_add_func("/thread-pool/cancel-async", test_cancel_async); in main()
H A Dtest-blockjob-txn.c254 g_test_add_func("/single/cancel", test_single_job_cancel); in main()
257 g_test_add_func("/pair/cancel", test_pair_jobs_cancel); in main()
258 g_test_add_func("/pair/fail-cancel-race", test_pair_jobs_fail_cancel_race); in main()
/qemu/
H A D.patchew.yml35 {% if not is_timeout %} {{ cancel }} {% endif %}
53 {{ cancel }}
61 {{ cancel }}
76 {{ cancel }}
79 {{ cancel }}
110 {{ cancel }}
H A Djob.c891 if (job->driver->cancel) { in job_cancel_async_locked()
893 force = job->driver->cancel(job, force); in job_cancel_async_locked()
896 /* No .cancel() means the job will behave as if force-cancelled */ in job_cancel_async_locked()
913 * Ignore soft cancel requests after the job is already done in job_cancel_async_locked()
914 * (We will still invoke job->driver->cancel() above, but if the in job_cancel_async_locked()
1148 * job_cancel_async() ignores soft-cancel requests for jobs in job_cancel_locked()
1152 * here, because job_cancel_async() will make soft-cancel in job_cancel_locked()
1185 * Same as job_cancel_err(), but force-cancel.
/qemu/io/
H A Dtrace-events11 qio_task_thread_source_cancel(void *task, void *source) "Task thread source cancel task=%p source=%…
46 qio_channel_tls_handshake_cancel(void *ioc) "TLS handshake cancel ioc=%p"
51 qio_channel_tls_bye_cancel(void *ioc) "TLS termination cancel ioc=%p"
/qemu/docs/interop/
H A Dlive-block-operations.rst419 ``block-job-cancel``, but be careful when doing this.
519 When you cancel an in-progress 'mirror' job *before* the source and
520 target are synchronized, ``block-job-cancel`` will emit the event
521 ``BLOCK_JOB_CANCELLED``. However, note that if you cancel a
524 synchronization, then the event emitted by ``block-job-cancel``
536 (1) Issuing the command ``block-job-cancel`` (after it emits the event
538 the time of *triggering* the cancel command) copy of the entire disk
632 (QEMU) block-job-cancel device=job0
634 "execute": "block-job-cancel",
767 event ``BLOCK_JOB_READY`` is emitted, issue ``block-job-cancel`` to
[all …]
/qemu/target/hexagon/imported/
H A Dcompare.idef220 { fIMMEXT(siV); if (fLSBNEW(PuN)) RdV=siV; else CANCEL;})
224 { fIMMEXT(siV); if (fLSBNEWNOT(PuN)) RdV=siV; else CANCEL;})
228 { fIMMEXT(siV); if (fLSBOLD(PuV)) RdV=siV; else CANCEL;})
232 { fIMMEXT(siV); if (fLSBOLDNOT(PuV)) RdV=siV; else CANCEL;})
241 } else {CANCEL;}
249 } else {CANCEL;}
257 } else {CANCEL;}
265 } else {CANCEL;}
H A Dsubinsns.idef34 …(p0.new) Rd16=#0", ATTRIBS(A_SUBINSN),"clear if true", { if (fLSBNEW0) {RdV=0;} else {CANCEL;} })
35 …0.new) Rd16=#0", ATTRIBS(A_SUBINSN),"clear if false",{ if (fLSBNEW0NOT) {RdV=0;} else {CANCEL;} })
36 …0", ATTRIBS(A_SUBINSN),"clear if true", { if (fLSBOLD(fREAD_P0())) {RdV=0;} else {CANCEL;} })
37 …, ATTRIBS(A_SUBINSN),"clear if false",{ if (fLSBOLDNOT(fREAD_P0())) {RdV=0;} else {CANCEL;} })
/qemu/tests/qemu-iotests/tests/
H A Dmirror-ready-cancel-error107 self.vm.cmd('block-job-cancel', device='mirror')
133 self.vm.qmp('block-job-cancel', device='mirror', force=True)
/qemu/python/tests/
H A Dprotocol.py341 # However, we can wrap it in a task and cancel *that*.
353 task.cancel()
397 task.cancel()
417 task.cancel()
/qemu/include/qemu/
H A Djob.h132 * Set to true if the job should cancel itself. The flag must
308 bool (*cancel)(Job *job, bool force); member
359 * All jobs in the transaction either complete successfully or fail/cancel as a
640 * Asynchronously cancel the specified @job. If @force is true, the job should
654 * Synchronously cancel the @job. The completion callback is called
/qemu/tests/qtest/migration/
H A Dprecopy-tests.c852 "{ 'execute': 'cancel-vcpu-dirty-limit' }"); in cancel_vcpu_dirty_limit()
1099 * cancel migrate
1161 /* Now cancel migrate and wait for dirty limit throttle switch off */ in test_dirty_limit()
1165 /* destination always fails after cancel */ in test_dirty_limit()
1254 migration_test_add("/migration/multifd/tcp/plain/cancel", in migration_test_add_precopy_smoke()
1257 migration_test_add("/migration/multifd+postcopy/tcp/plain/cancel", in migration_test_add_precopy_smoke()
1332 migration_test_add_suffix("/migration/cancel/src/after/", in migration_test_add_precopy()

123456