]> git.ipfire.org Git - thirdparty/libvirt.git/commit
esx: Improve VMX file name parsing and formatting
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sat, 7 Aug 2010 17:58:29 +0000 (19:58 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Wed, 11 Aug 2010 23:16:16 +0000 (01:16 +0200)
commit145d6cb05c45f4c0b5b5cee50edff50e518505f1
tree070578f8cc44b874fe3734d43d187fef031bddb8
parent6f42d3253a05fc6c4d94d8d389019f956158c753
esx: Improve VMX file name parsing and formatting

For parsing try to match by datastore mount path first, if that
fails fallback to /vmfs/volumes/<datastore>/<path> parsing. This
also fixes problems with GSX on Windows. Because GSX on Windows
doesn't use /vmfs/volumes/ style file names.

For formatting use the datastore mount path too, instead of using
/vmfs/volumes/<datastore>/<path> as fixed format.
src/esx/esx_driver.c