sandia-minimega / minimega

minimega
GNU General Public License v3.0
148 stars 66 forks source link

minimega: use "actual path" from qemu-img for backing image if present #1437

Closed activeshadow closed 3 years ago

activeshadow commented 3 years ago

If you run qemu-img info in the same directory as the image your passing to it, then the (actual path: ...) stuff isn't included in the output. However, if you run qemu-img info from a different directory, or you pass the absolute path of the image to qemu-img info, then the (actual path: ...) stuff is present. Minimega always passes the full path of a disk image to qemu-img info.

As an aside, I'm not sure if this is new functionality in a more recent version of qemu-img (I have the following version of qemu-utils installed: focal-updates,focal-security,now 1:4.2-3ubuntu6.10).