Previous topic

The nova.virt.disk.api Module

Next topic

The nova.virt.disk.loop Module

This Page

Psst... hey. You're reading the latest content, but it might be out of sync with code. You can read Nova 2011.2 docs or all OpenStack docs too.

The nova.virt.disk.guestfs Module

Support for mounting images with libguestfs

class Mount(image, mount_dir, partition=None, device=None)

Bases: nova.virt.disk.mount.Mount

libguestfs support for arbitrary images.

device_id_string = 'guest'
map_dev()
mnt_dev()
mode = 'guestfs'
unmap_dev()
unmnt_dev()