[libvirt] [PATCH RFC 27/51] qemu: blockjob: Consume new block job state in the processing function

Ján Tomko jtomko at redhat.com
Mon Jan 7 15:02:55 UTC 2019


On Wed, Dec 12, 2018 at 06:08:43PM +0100, Peter Krempa wrote:
>The processing function modifies the job state so it should make sure
>that the variable holding the new state is cleared properly and not the
>caller. The caller should only deal with the job state and not the
>transition that happened.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_blockjob.c | 15 +++++++++------
> 1 file changed, 9 insertions(+), 6 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190107/0fcff80a/attachment-0001.sig>


More information about the libvir-list mailing list