~ubuntu-branches/ubuntu/quantal/nova/quantal-proposed

« back to all changes in this revision

Viewing changes to nova/virt/disk/loop.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-08-16 14:04:11 UTC
  • mto: This revision was merged to the branch mainline in revision 84.
  • Revision ID: package-import@ubuntu.com-20120816140411-0mr4n241wmk30t9l
Tags: upstream-2012.2~f3
ImportĀ upstreamĀ versionĀ 2012.2~f3

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
class Mount(mount.Mount):
23
23
    """loop back support for raw images."""
24
24
    mode = 'loop'
 
25
    device_id_string = mode
25
26
 
26
27
    def get_dev(self):
27
28
        out, err = utils.trycmd('losetup', '--find', '--show', self.image,