From 0f28db380ed073522287d9e3832665ac42ae3a55 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Thu, 23 Jun 2011 22:01:52 +0200 Subject: [PATCH] dom0: QubesVm has no add_to_xen_storage() --- dom0/qvm-tools/qvm-add-template | 8 -------- 1 file changed, 8 deletions(-) diff --git a/dom0/qvm-tools/qvm-add-template b/dom0/qvm-tools/qvm-add-template index a6a58a12..e9f5aed8 100755 --- a/dom0/qvm-tools/qvm-add-template +++ b/dom0/qvm-tools/qvm-add-template @@ -64,14 +64,6 @@ def main(): qvm_collection.pop(vm.qid) exit (1) - try: - vm.add_to_xen_storage() - - except (IOError, OSError) as err: - print "ERROR: {0}".format(err) - qvm_collection.pop(vm.qid) - exit (1) - qvm_collection.save() qvm_collection.unlock_db()