Comment 5 for bug 1251590

Revision history for this message
Nikola Đipanov (ndipanov) wrote : Re: Live migration can leak root disk into ephemeral storage

So IIUC the issue can only happen when the block migration is used, as this code path is only hit if there is no shared storage - this is a limited use case, and the bug does not affect all live migration setups. I am saying this just for clarity - we should definitely fix the issue asap.

The fix looks like a good start, however I think that we should special-case the swap as well. For inspiration see nova.virt.libvirt.driver _create_image method that does these things on instance boot.