From e53d04005120b472b820b8732bf8d96ae495a5df Mon Sep 17 00:00:00 2001 From: Demi Marie Obenour Date: Wed, 25 Nov 2020 13:33:32 -0500 Subject: [PATCH] Re-add dirty check in case qubesd is restarted --- qubes/storage/file.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qubes/storage/file.py b/qubes/storage/file.py index e5dadb18..102bbafd 100644 --- a/qubes/storage/file.py +++ b/qubes/storage/file.py @@ -326,6 +326,8 @@ class FileVolume(qubes.storage.Volume): assert self._locked is FileVolume._marker_exported, \ 'nested calls to start()' self._not_implemented('starting a VM with an exported volume') + if self.is_dirty(): + self._not_implemented('exporting a dirty volume') self._locked = FileVolume._marker_running if not self.save_on_stop and not self.snap_on_start: self.reset()