Stefan Hajnoczi dc88a467ec block: count bdrv_co_rw_vmstate() requests
Call bdrv_inc/dec_in_flight() for vmstate reads/writes.  This seems
unnecessary at first glance because vmstate reads/writes are done
synchronously while the guest is stopped.  But we need the bdrv_wakeup()
in bdrv_dec_in_flight() so the main loop sees request completion.
Besides, it's cleaner to count vmstate reads/writes like ordinary
read/write requests.

The bdrv_wakeup() partially fixes a 'savevm' hang with -object iothread.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2017-06-26 14:51:13 +02:00
..
2017-06-20 14:31:31 +02:00
2016-10-07 14:14:06 +02:00
2016-10-07 14:14:06 +02:00
2017-06-15 11:04:06 +02:00
2017-06-20 14:31:31 +02:00
2017-06-22 11:34:39 +01:00
2017-06-22 11:34:39 +01:00
2016-11-25 13:51:30 +01:00
2016-06-07 18:19:24 +03:00
2016-01-20 13:36:23 +01:00
2016-01-20 13:36:23 +01:00
2017-05-18 19:20:59 +02:00
2017-06-20 14:31:31 +02:00
2017-06-22 11:34:39 +01:00
2017-06-20 14:31:31 +02:00
2017-05-17 12:04:59 +02:00
2016-09-23 11:42:52 +08:00
2017-05-17 12:04:59 +02:00
2017-05-17 12:04:59 +02:00
2017-05-17 12:04:59 +02:00
2017-06-20 14:31:31 +02:00