27591290c718e768c523b3698429ce34e4686ba7
Instead of just using it as a warning and then trying to parse an empty string as json. For example, trying to parse unsupported vmdks, previously we'd see something like this: qemu-img: Could not open '/run/pve/import/esxi/foo/mnt/ha-datacenter/vsanDatastore/asdf/asdf-000001.vmdk': Unsupported image type 'vsanSparse' could not parse qemu-img info command output for '/run/pve/import/esxi/foo/mnt/ha-datacenter/vsanDatastore/asdf/asdf-000001.vmdk' - malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "(end of string)") at src/PVE/Storage/Plugin.pm line 962, <DATA> line 960. Now it simply shows: qemu-img: Could not open '/run/pve/import/esxi/foo/mnt/ha-datacenter/vsanDatastore/asdf/asdf-000001.vmdk': Unsupported image type 'vsanSparse' Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Description
with PMEM support!
Languages
Perl
99.3%
Makefile
0.6%