Files
qemu/tests/qemu-iotests
Vladimir Sementsov-Ogievskiy 985cac8f20 blockjob: drop BlockJob.blk field
It's unused now (except for permission handling)[*]. The only reasonable
user of it was block-stream job, recently updated to use own blk. And
other block jobs prefer to use own source node related objects.

So, the arguments of dropping the field are:

 - block jobs prefer not to use it
 - block jobs usually has more then one node to operate on, and better
   to operate symmetrically (for example has both source and target
   blk's in specific block-job state structure)

*: BlockJob.blk is used to keep some permissions. We simply move
permissions to block-job child created in block_job_create() together
with blk.

In mirror, we just should not care anymore about restoring state of
blk. Most probably this code could be dropped long ago, after dropping
bs->job pointer. Now it finally goes away together with BlockJob.blk
itself.

iotest 141 output is updated, as "bdrv_has_blk(bs)" check in
qmp_blockdev_del() doesn't fail (we don't have blk now). Still, new
error message looks even better.

In iotest 283 we need to add a job id, otherwise "Invalid job ID"
happens now earlier than permission check (as permissions moved from
blk to block-job node).

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Nikita Lapshin <nikita.lapshin@virtuozzo.com>
2021-12-28 15:18:59 +01:00
..
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-05-12 17:42:23 +02:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-05-12 17:42:23 +02:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2020-12-11 17:52:40 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-11-01 11:54:59 -04:00
2021-07-09 13:18:32 +02:00
2020-09-08 13:40:49 +02:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-03-29 18:06:14 +02:00
2021-03-29 18:06:14 +02:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-10-15 16:06:23 +02:00
2021-10-15 16:06:23 +02:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2020-09-02 16:32:14 -05:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2020-01-06 13:43:07 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2020-12-11 17:52:40 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2020-01-06 13:43:07 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2018-06-11 16:18:45 +02:00
2021-07-09 13:18:32 +02:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-03-29 14:13:55 +02:00
2021-01-20 14:53:22 -06:00
2021-01-26 14:36:37 +01:00
2021-01-26 14:36:37 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-09-15 18:42:38 +02:00
2021-01-20 14:53:22 -06:00
2021-03-18 09:22:55 +00:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-03-24 14:25:48 +00:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2020-01-06 13:43:07 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-12-28 15:18:59 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-11-23 15:39:12 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-07-09 13:19:11 +02:00
2020-03-11 15:54:38 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-07-09 13:19:11 +02:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-03-19 15:18:43 +01:00
2021-07-06 14:28:55 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-26 14:36:37 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2020-07-28 15:28:56 +02:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2020-09-07 12:31:31 +02:00
2021-01-20 14:53:22 -06:00
2021-11-23 15:39:12 +01:00
2021-11-23 15:39:12 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-11-23 15:39:12 +01:00
2021-11-23 15:39:12 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-11-01 11:54:59 -04:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2019-10-10 10:56:18 +02:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2019-03-19 15:49:29 +01:00
2021-01-20 14:53:22 -06:00
2019-02-01 13:46:44 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2019-02-01 13:46:44 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2019-03-19 15:49:29 +01:00
2021-07-09 13:19:11 +02:00
2021-07-09 13:19:11 +02:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2019-06-04 16:55:58 +02:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-11-01 11:54:59 -04:00
2021-03-24 14:25:48 +00:00
2020-09-02 16:32:14 -05:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2019-11-18 16:01:31 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-12-28 15:18:59 +01:00
2021-12-28 15:18:59 +01:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-07-09 13:19:11 +02:00
2021-11-01 11:54:59 -04:00
2021-07-09 13:19:11 +02:00
2021-01-20 14:53:22 -06:00
2021-07-09 13:18:32 +02:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-01-20 14:53:22 -06:00
2021-12-22 16:29:48 +01:00
2021-01-27 20:53:14 +01:00
2021-12-23 09:40:34 +01:00

=== This is the QEMU I/O test suite ===

* Intro

This package contains a simple test suite for the I/O layer of qemu.
It does not require a guest, but only the qemu, qemu-img and qemu-io
binaries.  This does limit it to exercise the low-level I/O path only
but no actual block drivers like ide, scsi or virtio.

* Usage

Just run ./check to run all tests for the raw image format, or ./check
-qcow2 to test the qcow2 image format.  The output of ./check -h explains
additional options to test further image formats or I/O methods.

* Feedback and patches

Please send improvements to the test suite, general feedback or just
reports of failing tests cases to qemu-devel@nongnu.org with a CC:
to qemu-block@nongnu.org.