Displaying 1 result from an estimated 1 matches for "diskformattype".
2017 Jun 27
0
Problems creating a new volume
...ame>" + name +".img</name>\
<allocation>0</allocation>\
<capacity unit=\"G\">" + hd + "</capacity>\
<target>\
<path>" + filePath + "</path>\
<format type='"+ diskFormatType + "'/>\
</target>\
</volume>";
storageVolPtr = virStorageVolCreateXML(pool,
storageVolXml.toLatin1().data(),
VIR_STORAGE_VOL_CREATE_PREALLOC_METADATA);
I don't have any error but no file is created in the specified path (filePath).
Any suggestion?...