OSDN Git Service

jobs: remove job_defer_to_main_loop
authorJohn Snow <jsnow@redhat.com>
Thu, 30 Aug 2018 01:57:34 +0000 (21:57 -0400)
committerMax Reitz <mreitz@redhat.com>
Fri, 31 Aug 2018 14:28:33 +0000 (16:28 +0200)
commite21a1c9831fc80ae3f3c1affdfa43350035d8588
treeb9dc7cc73fc5626d8bdf56e31a39974e1719b0f2
parent404ff28d6ae59fc1c24d631710d4063fc68aed03
jobs: remove job_defer_to_main_loop

Now that the job infrastructure is handling the job_completed call for
all implemented jobs, we can remove the interface that allowed jobs to
schedule their own completion.

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 20180830015734.19765-10-jsnow@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
include/qemu/job.h
job.c