Block migration if any of the block device is busy
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest3 patches 12 repliesIn review
- v33 patches 1 replySuperseded
- v23 patches 1 replySuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 3 patches | 5 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | block: Add bdrv_are_busy()block.c block.h | +15 | 6 replies | |
| 2/3 | qerror: Add error telling that block dev usage prevents migrationqerror.c qerror.h | +7 | 1 reply | |
| 3/3 | migration: block migration when any of the block device is busymigration.c | +5 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Stefan Hajnoczi |
|---|---|
| Series | R-b |
| 1/3 | |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH V4 0/3] Block migration if any of the block device is busy
From: Benoît Canet <[email protected]>
This patchset is designed to avoid starting a live migration while any of the block device is busy.
Tested with the following sequence:
QEMU 1.1.50 monitor - type 'help' for more information (qemu) block_stream virtio0 1k
(qemu) migrate tcp:localhost:4444
migrate: Migration is blocked by streaming (qemu) block_job_cancel virtio0
(qemu) migrate tcp:localhost:4444
migrate: Connection can not be completed immediately (qemu)
=> migration then succeed
in v2:
stefanha: Rename bdrv_have_block_jobs() to bdrv_are_busy() and make it return -EBUSY.
paolo: remove spurious bdrv_close()
in v3
pm215: rewrite confusing error message
in v4:
stefanha: make the error message more general
Benoît Canet (3):
block: Add bdrv_are_busy()
qerror: Add error telling that block dev usage prevents migration
migration: block migration when streaming block jobs are running.
block.c | 13 +++++++++++++ block.h | 2 ++ migration.c | 5 +++++ qerror.c | 4 ++++ qerror.h | 3 +++ 5 files changed, 27 insertions(+)
Signature · 1 line
1.7.9.5