file pool: snapshotting dirty volume not supported

Raise a NotImplementedError rather than risking corruption.
このコミットが含まれているのは:
Demi Marie Obenour 2020-11-24 19:15:25 -05:00
コミット 14e9154e4e
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 28A45C93B0B5B6E0

ファイルの表示

@ -265,7 +265,9 @@ class FileVolume(qubes.storage.Volume):
return self
def export(self):
return snapshot(self.path, self.path_cow)
if self.is_dirty():
self._not_implemented('exporting a dirty volume')
return self.path
@asyncio.coroutine
def import_volume(self, src_volume):