diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2017-02-02 15:59:09 +0000 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2017-02-06 13:36:49 +0100 |
commit | ef8d6488d2767fe81bb4bb9bcdc52af5ff718b56 (patch) | |
tree | fe58764b604fbbc6d44157c424f9f393e9330378 /cputlb.c | |
parent | 328d4d85282e7d62f89f5b0547a493d9cd07cea0 (diff) | |
download | qemu-ef8d6488d2767fe81bb4bb9bcdc52af5ff718b56.zip qemu-ef8d6488d2767fe81bb4bb9bcdc52af5ff718b56.tar.gz qemu-ef8d6488d2767fe81bb4bb9bcdc52af5ff718b56.tar.bz2 |
postcopy: Recover block devices on early failure
An early postcopy failure can be recovered from as long as we know
we haven't sent the command to run the destination.
We have to undo the bdrv_inactivate_all by calling
bdrv_invalidate_cache_all
Note that I'm not using ms->block_inactive because once we've
sent the postcopy package we dont want anything else to try
and recover the block storage on the source; the destination
might have started writing to it.
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20170202155909.31784-3-dgilbert@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'cputlb.c')
0 files changed, 0 insertions, 0 deletions