summaryrefslogtreecommitdiffstats
path: root/nova/exception.py
diff options
context:
space:
mode:
authorRafi Khardalian <rafi@metacloud.com>2013-02-08 00:31:46 +0000
committerGerrit Code Review <review@openstack.org>2013-02-09 06:19:26 +0000
commitc45dc4d5fabb33370876dacccc6d57e39f611334 (patch)
treead2f5f44a42f6b4138a83a1585dcb3295890d901 /nova/exception.py
parent230bb9c3dd12f93f594b731e46cce36ee424e556 (diff)
downloadnova-c45dc4d5fabb33370876dacccc6d57e39f611334.tar.gz
nova-c45dc4d5fabb33370876dacccc6d57e39f611334.tar.xz
nova-c45dc4d5fabb33370876dacccc6d57e39f611334.zip
Simplify libvirt snapshot code path
The "cold" snapshot code path was unnecessarily complex. We were traversing 3 layers of abstraction to reach 3 lines of code. I've completely eliminated snapshot.py by moving all "cold" snapshot functions into imagebackend.py and adjusting the libvirt driver accordingly. This is the first pass of several I intend to make against imagebackend.py, as it is far too difficult to read given how basic the basic level of functionality it is intended to provide. Change-Id: Idfacffb7210ae61193ee4f2360d4b38f330a177c
Diffstat (limited to 'nova/exception.py')
0 files changed, 0 insertions, 0 deletions