summary refs log tree commit diff stats
path: root/include/hw/misc/unimp.h
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dgilbert@redhat.com>2017-02-02 15:59:09 +0000
committerJuan Quintela <quintela@redhat.com>2017-02-06 13:36:49 +0100
commitef8d6488d2767fe81bb4bb9bcdc52af5ff718b56 (patch)
treefe58764b604fbbc6d44157c424f9f393e9330378 /include/hw/misc/unimp.h
parent328d4d85282e7d62f89f5b0547a493d9cd07cea0 (diff)
downloadfocaccia-qemu-ef8d6488d2767fe81bb4bb9bcdc52af5ff718b56.tar.gz
focaccia-qemu-ef8d6488d2767fe81bb4bb9bcdc52af5ff718b56.zip
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 'include/hw/misc/unimp.h')
0 files changed, 0 insertions, 0 deletions