diff options
| author | Anthony Liguori | 2011-11-14 22:09:47 +0100 |
|---|---|---|
| committer | Anthony Liguori | 2011-11-21 21:58:48 +0100 |
| commit | 1ed520c66e3f3b57b88d201c08558ec1616bf69d (patch) | |
| tree | 806c590f41a6872f17dcdde827e7632aead4bd7a /block/qed.h | |
| parent | qcow2: implement bdrv_invalidate_cache (v2) (diff) | |
| download | qemu-1ed520c66e3f3b57b88d201c08558ec1616bf69d.tar.gz qemu-1ed520c66e3f3b57b88d201c08558ec1616bf69d.tar.xz qemu-1ed520c66e3f3b57b88d201c08558ec1616bf69d.zip | |
qed: add migration blocker (v2)
Now when you try to migrate with qed, you get:
(qemu) migrate tcp:localhost:1025
Block format 'qed' used by device 'ide0-hd0' does not support feature 'live migration'
(qemu)
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'block/qed.h')
| -rw-r--r-- | block/qed.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/block/qed.h b/block/qed.h index 388fdb3760..62cbd3b899 100644 --- a/block/qed.h +++ b/block/qed.h @@ -164,6 +164,8 @@ typedef struct { /* Periodic flush and clear need check flag */ QEMUTimer *need_check_timer; + + Error *migration_blocker; } BDRVQEDState; enum { |
