file pool: snapshotting dirty volume not supported
Raise a NotImplementedError rather than risking corruption.
这个提交包含在:
父节点
cee8201989
当前提交
14e9154e4e
@ -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):
|
||||
|
正在加载...
在新工单中引用
屏蔽一个用户