<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/include/block/blockjob_int.h, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/include/block/blockjob_int.h?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/include/block/blockjob_int.h?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-03-04T17:18:25+00:00</updated>
<entry>
<title>include/block/blockjob_int.h: split header into I/O and GS API</title>
<updated>2022-03-04T17:18:25+00:00</updated>
<author>
<name>Emanuele Giuseppe Esposito</name>
</author>
<published>2022-03-03T15:16:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2015c4c28d9051e8a7b1404067bbc38f239ccb01'/>
<id>urn:sha1:2015c4c28d9051e8a7b1404067bbc38f239ccb01</id>
<content type='text'>
Since the I/O functions are not many, keep a single file.
Also split the function pointers in BlockJobDriver.

Signed-off-by: Emanuele Giuseppe Esposito &lt;eesposit@redhat.com&gt;
Reviewed-by: Stefan Hajnoczi &lt;stefanha@redhat.com&gt;
Message-Id: &lt;20220303151616.325444-16-eesposit@redhat.com&gt;
Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
</content>
</entry>
<entry>
<title>blockjob: add set_speed to BlockJobDriver</title>
<updated>2021-01-26T13:36:37+00:00</updated>
<author>
<name>Vladimir Sementsov-Ogievskiy</name>
</author>
<published>2021-01-16T21:46:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=e0323a045f5929721c9f4b7437229f1dbdc5b5e5'/>
<id>urn:sha1:e0323a045f5929721c9f4b7437229f1dbdc5b5e5</id>
<content type='text'>
We are going to use async block-copy call in backup, so we'll need to
passthrough setting backup speed to block-copy call.

Signed-off-by: Vladimir Sementsov-Ogievskiy &lt;vsementsov@virtuozzo.com&gt;
Reviewed-by: Max Reitz &lt;mreitz@redhat.com&gt;
Message-Id: &lt;20210116214705.822267-9-vsementsov@virtuozzo.com&gt;
Signed-off-by: Max Reitz &lt;mreitz@redhat.com&gt;
</content>
</entry>
<entry>
<title>job: drop job_drain</title>
<updated>2019-09-10T06:58:43+00:00</updated>
<author>
<name>Vladimir Sementsov-Ogievskiy</name>
</author>
<published>2019-08-29T09:09:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=bb0c94099382b52734a4a4f3c060e90c9a2ac6cf'/>
<id>urn:sha1:bb0c94099382b52734a4a4f3c060e90c9a2ac6cf</id>
<content type='text'>
In job_finish_sync job_enter should be enough for a job to make some
progress and draining is a wrong tool for it. So use job_enter directly
here and drop job_drain with all related staff not used more.

Suggested-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
Signed-off-by: Vladimir Sementsov-Ogievskiy &lt;vsementsov@virtuozzo.com&gt;
Tested-by: John Snow &lt;jsnow@redhat.com&gt;
Reviewed-by: John Snow &lt;jsnow@redhat.com&gt;
Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
</content>
</entry>
<entry>
<title>block: Really pause block jobs on drain</title>
<updated>2018-06-18T13:03:25+00:00</updated>
<author>
<name>Kevin Wolf</name>
</author>
<published>2018-03-22T13:11:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=89bd030533e3592ca0a995450dcfc5d53e459e20'/>
<id>urn:sha1:89bd030533e3592ca0a995450dcfc5d53e459e20</id>
<content type='text'>
We already requested that block jobs be paused in .bdrv_drained_begin,
but no guarantee was made that the job was actually inactive at the
point where bdrv_drained_begin() returned.

This introduces a new callback BdrvChildRole.bdrv_drained_poll() and
uses it to make bdrv_drain_poll() consider block jobs using the node to
be drained.

For the test case to work as expected, we have to switch from
block_job_sleep_ns() to qemu_co_sleep_ns() so that the test job is even
considered active and must be waited for when draining the node.

Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
</content>
</entry>
<entry>
<title>job: Add job_transition_to_ready()</title>
<updated>2018-05-23T12:30:51+00:00</updated>
<author>
<name>Kevin Wolf</name>
</author>
<published>2018-04-25T12:56:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=2e1795b58131427719c7cd11f8b9b6984b3f24f8'/>
<id>urn:sha1:2e1795b58131427719c7cd11f8b9b6984b3f24f8</id>
<content type='text'>
The transition to the READY state was still performed in the BlockJob
layer, in the same function that sent the BLOCK_JOB_READY QMP event.

This patch brings the state transition to the Job layer and implements
the QMP event using a notifier called from the Job layer, like we
already do for other events related to state transitions.

Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
Reviewed-by: Max Reitz &lt;mreitz@redhat.com&gt;
</content>
</entry>
<entry>
<title>job: Add job_yield()</title>
<updated>2018-05-23T12:30:51+00:00</updated>
<author>
<name>Kevin Wolf</name>
</author>
<published>2018-04-24T14:55:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=198c49cc8d81e8eb0df3749d395599895c3a3a76'/>
<id>urn:sha1:198c49cc8d81e8eb0df3749d395599895c3a3a76</id>
<content type='text'>
This moves block_job_yield() to the Job layer.

Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
Reviewed-by: Max Reitz &lt;mreitz@redhat.com&gt;
</content>
</entry>
<entry>
<title>job: Move completion and cancellation to Job</title>
<updated>2018-05-23T12:30:51+00:00</updated>
<author>
<name>Kevin Wolf</name>
</author>
<published>2018-04-24T14:13:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3d70ff53b6bf90d9eec6f97024ec9895f6799d9e'/>
<id>urn:sha1:3d70ff53b6bf90d9eec6f97024ec9895f6799d9e</id>
<content type='text'>
This moves the top-level job completion and cancellation functions from
BlockJob to Job.

Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
</content>
</entry>
<entry>
<title>job: Move transactions to Job</title>
<updated>2018-05-23T12:30:51+00:00</updated>
<author>
<name>Kevin Wolf</name>
</author>
<published>2018-04-23T14:06:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=7eaa8fb57da96301f4a8ce176ad503f80efc7cc0'/>
<id>urn:sha1:7eaa8fb57da96301f4a8ce176ad503f80efc7cc0</id>
<content type='text'>
This moves the logic that implements job transactions from BlockJob to
Job.

Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
Reviewed-by: Max Reitz &lt;mreitz@redhat.com&gt;
</content>
</entry>
<entry>
<title>job: Switch transactions to JobTxn</title>
<updated>2018-05-23T12:30:50+00:00</updated>
<author>
<name>Kevin Wolf</name>
</author>
<published>2018-04-19T14:09:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=62c9e4162a7bc26a1389e50d17d3b2637028bbc3'/>
<id>urn:sha1:62c9e4162a7bc26a1389e50d17d3b2637028bbc3</id>
<content type='text'>
This doesn't actually move any transaction code to Job yet, but it
renames the type for transactions from BlockJobTxn to JobTxn and makes
them contain Jobs rather than BlockJobs

Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
Reviewed-by: Max Reitz &lt;mreitz@redhat.com&gt;
</content>
</entry>
<entry>
<title>job: Move .complete callback to Job</title>
<updated>2018-05-23T12:30:50+00:00</updated>
<author>
<name>Kevin Wolf</name>
</author>
<published>2018-04-23T10:24:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3453d97243c72988c89a0105fa9546890eae7bd4'/>
<id>urn:sha1:3453d97243c72988c89a0105fa9546890eae7bd4</id>
<content type='text'>
This moves the .complete callback that tells a READY job to complete
from BlockJobDriver to JobDriver. The wrapper function job_complete()
doesn't require anything block job specific any more and can be moved
to Job.

Signed-off-by: Kevin Wolf &lt;kwolf@redhat.com&gt;
Reviewed-by: Max Reitz &lt;mreitz@redhat.com&gt;
</content>
</entry>
</feed>
