Kevin Wolf
e5ab4347f9
block/create: Make x-blockdev-create a job
...
This changes the x-blockdev-create QMP command so that it doesn't block
the monitor and the main loop any more, but starts a background job that
performs the image creation.
The basic job as implemented here is all that is necessary to make image
creation asynchronous and to provide a QMP interface that can be marked
stable, but it still lacks a few features that jobs usually provide: The
job will ignore pause commands and it doesn't publish more than very
basic progress yet (total-progress is 1 and current-progress advances
from 0 to 1 when the driver callbacks returns). These features can be
added later without breaking compatibility.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
2018-05-30 13:31:07 +02:00
..
2018-03-20 03:34:52 +02:00
2018-02-22 15:44:07 -08:00
2018-05-18 16:52:53 +08:00
2018-05-04 08:27:53 +02:00
2018-02-14 10:26:21 +00:00
2018-03-21 15:13:40 +01:00
2018-03-27 10:17:45 -05:00
2018-05-30 13:31:07 +02:00
2018-03-26 14:17:04 -07:00
2018-04-09 15:13:02 +08:00
2018-03-13 18:06:06 +00:00
2018-01-16 14:54:52 +01:00
2018-05-04 08:27:53 +02:00
2018-03-20 03:34:52 +02:00
2018-02-14 11:43:41 +01:00
2018-02-14 11:43:41 +01:00
2018-02-14 11:43:41 +01:00
2018-04-30 10:48:29 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-02-14 11:43:41 +01:00
2018-02-14 11:43:41 +01:00
2018-02-14 11:43:41 +01:00
2018-02-14 11:43:02 +01:00
2018-02-14 11:43:41 +01:00
2018-02-09 13:50:17 +01:00
2018-02-14 11:43:41 +01:00
2018-05-04 08:27:53 +02:00
2018-03-27 10:17:45 -05:00
2018-05-20 08:48:13 +03:00
2018-05-04 08:27:53 +02:00
2018-05-25 22:47:27 -04:00
2018-02-14 11:43:41 +01:00
2018-05-15 20:24:27 +02:00
2018-05-04 08:27:53 +02:00
2018-01-17 09:35:24 +11:00
2018-02-09 05:05:11 +01:00
2018-05-04 08:27:53 +02:00
2018-02-14 11:43:41 +01:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-03-12 16:12:47 +01:00
2018-02-14 11:43:41 +01:00
2018-02-14 11:43:02 +01:00
2018-03-06 14:01:27 +01:00
2018-03-13 18:06:06 +00:00
2018-03-13 18:06:06 +00:00
2018-05-04 08:27:53 +02:00
2018-02-09 13:50:17 +01:00
2018-03-27 13:05:28 +01:00
2018-05-30 13:31:01 +02:00
2018-03-02 18:39:07 +01:00
2018-05-30 13:31:01 +02:00
2018-05-30 13:31:01 +02:00
2018-05-04 08:27:53 +02:00
2018-02-09 13:52:15 +01:00
2018-02-08 09:22:03 +08:00
2018-04-06 11:28:31 +01:00
2018-03-13 18:06:05 +00:00
2018-02-07 14:09:25 +01:00
2018-02-10 10:44:30 +03:00
2018-03-05 10:30:15 +08:00
2018-02-15 16:54:57 +00:00
2018-03-13 18:06:06 +00:00
2018-04-06 11:28:31 +01:00
2018-03-06 10:19:05 +00:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-02-09 05:05:11 +01:00
2018-05-09 00:13:39 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-02-09 13:52:16 +01:00
2018-02-09 13:52:15 +01:00
2018-02-10 10:45:14 +03:00
2018-05-20 08:48:13 +03:00
2018-03-13 18:06:06 +00:00
2017-12-20 22:01:24 +08:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00
2018-05-25 22:47:27 -04:00
2018-03-29 17:41:03 -04:00
2018-05-20 08:38:38 +03:00
2018-02-21 07:24:50 -05:00
2018-02-21 07:24:50 -05:00
2018-05-25 22:47:27 -04:00
2018-05-25 22:47:27 -04:00
2018-02-14 11:43:02 +01:00
2018-02-14 11:43:41 +01:00
2018-01-16 14:54:52 +01:00
2018-05-04 08:27:53 +02:00
2018-02-14 11:43:41 +01:00
2018-02-14 11:43:41 +01:00
2018-05-04 08:27:53 +02:00
2018-03-12 16:12:46 +01:00
2018-05-04 08:27:53 +02:00
2018-05-04 08:27:53 +02:00