Comment 14 for bug 1524274

Revision history for this message
Daniel Berrange (berrange) wrote : Re: Unprivileged api user can access host data using instance snapshot

IMHO it is only appropriate to use the resolve_drive_format() method in cases where we don't have access to the information from libvirt guest config. ie it if the guest does not already exist. If there is a libvirt guest XML present, we should consider that the canonical source of information about the disk format, because that reflects what format QEMU is actually running with. The Nova look-aside cache is just a backup data source IMHO, not the canonical source, so should be used as a last resort