qemu: implement bdrv_invalidate_cache
This is used during live migration to clear librbd's cache on the destination host before starting the guest there. It's necessary for live migration of non-raw images, and may become necessary for live migration of raw images in the future.
#2 Updated by Josh Durgin over 7 years ago
- Status changed from New to Rejected
I've tested migration with caching, and read the code, and it looks like this is unnecessary. qemu is doing a flush before the destination starts. It's only needed by qcow2/qed since they actually read some info that may change before the destination is started.
#7 Updated by Jason Dillaman about 5 years ago
- Status changed from In Progress to Resolved