diff options
| author | Daniel P. Berrange <berrange@redhat.com> | 2012-11-13 11:15:40 +0000 |
|---|---|---|
| committer | Daniel P. Berrange <berrange@redhat.com> | 2012-11-21 11:53:07 +0000 |
| commit | 6aebaca79ad394c99d0b9698834bccfcfa226ab4 (patch) | |
| tree | 0efaebbf1440666362ed7ef32baf74b76151897e /tools/enable-pre-commit-hook.sh | |
| parent | 72918415f2b6a241d6097a563aba55a849936591 (diff) | |
| download | nova-6aebaca79ad394c99d0b9698834bccfcfa226ab4.tar.gz nova-6aebaca79ad394c99d0b9698834bccfcfa226ab4.tar.xz nova-6aebaca79ad394c99d0b9698834bccfcfa226ab4.zip | |
Remove img_handlers config parameter usage
Now that the only disk code requiring host filesystem
mounts is the LXC filesystem setup, the img_handlers
config parameter is an solution looking for a purpose.
For any disk image format we can categorically say
whether it should be mounted using loop or qemu-nbd
mount impls. There is no desire to use libguestfs FUSE
for mounting LXC disk images, since users of LXC do
not want a huge KVM process alongside every container!
Move the mount class choice logic into the mount API,
by creating new methods
nova.virt.disk.mount.API.instance_for_format()
nova.virt.disk.mount.API.instance_for_device()
and then call these from nova.virt.disk.API code
blueprint: virt-disk-api-refactoring
Change-Id: I088b5debdf62d4a9a6b4521eee68cd4757f2ff42
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'tools/enable-pre-commit-hook.sh')
0 files changed, 0 insertions, 0 deletions
