]> Git Repo - qemu.git/commit - blockjob.c
block: keep a list of block jobs
authorAlberto Garcia <[email protected]>
Mon, 4 Apr 2016 13:43:51 +0000 (16:43 +0300)
committerKevin Wolf <[email protected]>
Wed, 25 May 2016 17:04:21 +0000 (19:04 +0200)
commita7112795c14d99b81600f8809fda5ce18b430830
treef422a21a2d8ccafde4d68b61a11b17842208d13d
parentd004bd52aacbe9bf43c38fa6cb20a6f241ac64be
block: keep a list of block jobs

The current way to obtain the list of existing block jobs is to
iterate over all root nodes and check which ones own a job.

Since we want to be able to support block jobs in other nodes as well,
this patch keeps a list of jobs that is updated every time one is
created or destroyed.

Signed-off-by: Alberto Garcia <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
Reviewed-by: Max Reitz <[email protected]>
blockjob.c
include/block/blockjob.h
This page took 0.022891 seconds and 4 git commands to generate.