[vbox-dev] createBaseStorage() fails with VERR_INVALID_PARAMETER
maxime.dor at altherian.org
Fri Jun 6 06:58:04 UTC 2014
Provide the part of your code that fails please, else it's a bit hard to
give you pointers.
On 5 June 2014 16:25, Karoline Haus <karolinehaus at yahoo.de> wrote:
> Hi I'm trying to create a virtual hard drive using the Python API.
> I can successully create the IMedium object using
> IVirtualBox::createHardDisk() but then when I try to call
> createBaseStorage() on that object, I can an error saying "Error in module
> Medium (VERR_INVALID_PARAMETER)" but I do not get any further details on
> what the problem is.
> According to the SDK documentation, the only error for this function
> should be if the medium format is not supported by my system ("The variant
> of storage creation operation is not supported."), but I am just trying to
> create a VDI disk, and when I list the HDD backends using VBoxManage, it is
> definitely supported. The path I'm trying to create the virtual disk under
> is also accessible and writable.
> What else can the problem be? I do not seem to be able to dig deeper into
> this. I'm using the *MediumVariant_Standard* variant, so there is nothing
> special about this either.
> Any pointers would be really appreciated.
> vbox-dev mailing list
> vbox-dev at virtualbox.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vbox-dev