From d56f02598a75635edd2de430af2ec7ba87869927 Mon Sep 17 00:00:00 2001 From: Bahtiar `kalkin-` Gadimov Date: Thu, 16 Jun 2016 21:03:53 +0200 Subject: [PATCH] Replace QubesVM.verify_files() with Storage.verify_files() --- qubes/vm/qubesvm.py | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/qubes/vm/qubesvm.py b/qubes/vm/qubesvm.py index ef024e33..4fc9af7f 100644 --- a/qubes/vm/qubesvm.py +++ b/qubes/vm/qubesvm.py @@ -701,7 +701,7 @@ class QubesVM(qubes.vm.mix.net.NetVMMixin, qubes.vm.BaseVM): self.fire_event_pre('domain-pre-start', preparing_dvm=preparing_dvm, start_guid=start_guid, mem_required=mem_required) - self.verify_files() + self.storage.verify_files() if self.netvm is not None: if self.netvm.qid != 0: @@ -1517,20 +1517,6 @@ class QubesVM(qubes.vm.mix.net.NetVMMixin, qubes.vm.BaseVM): 'libvirt error code: {!r}'.format(e.get_error_code())) raise - # TODO move to storage - def verify_files(self): - '''Verify that files accessed by this machine are sane. - - On success, returns normally. On failure, raises exception. - ''' - - self.storage.verify_files() - - self.fire_event('domain-verify-files') - - return True - - # miscellanous def get_start_time(self):