[vdsm] why vm.create preparepath then teardown

Jenna Johnson jennajohnson390 at gmail.com
Wed May 16 08:07:29 UTC 2012


Folks,
    I came across a problem when starting VM, and think maybe related to
the following.
    In API.VM.create() function, we prepareVolumePath, and then
teardownVolumePath, any idea why we handle it like this?

                    fname = self._cif.prepareVolumePath(paramFilespec)
                    try:
                        ....
                    finally:
                        self._cif.teardownVolumePath(paramFilespec)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://fedorahosted.org/pipermail/vdsm-devel/attachments/20120516/c0fc9bbb/attachment.html>


More information about the vdsm-devel mailing list