createrawvmdk not possible in OSE?

Discussions related to using VirtualBox on Linux hosts.

createrawvmdk not possible in OSE?

Postby eiffel56 » 13. Feb 2008, 04:07

Hey,

I build VirtualBox OSE from SVN(currently revision 6883).
I've tried the internal command createrawvmdk, as described in the VirtualBox user manual, section 9.9.1. But it seems that my VBoxManage does not support createrawvmdk:

Code: Select all   Expand viewCollapse view
lisa@HauptPC:~$ VBoxManage internalcommands createrawvmdk
VirtualBox Command Line Management Interface Version 1.5.51_OSE
(C) 2005-2008 innotek GmbH
All rights reserved.

Usage: VBoxManage internalcommands <command> [command arguments]

Commands:

  loadsyms <vmname>|<uuid> <symfile> [delta] [module] [module address]
      This will instruct DBGF to load the given symbolfile
      during initialization.

  unloadsyms <vmname>|<uuid> <symfile>
      Removes <symfile> from the list of symbol files that
      should be loaded during DBF initialization.

  setvdiuuid <filepath>
       Assigns a new UUID to the given VDI file. This way, multiple copies
       of VDI containers can be registered.

WARNING: This is a development tool and shall only be used to analyse
         problems. It is completely unsupported and will change in
         incompatible ways without warning.

Syntax error: Invalid command 'createrawvmdk'


I've looked at the VBoxManage sourcecode, and it seems that VirtualBox OSE does not support createvmdk:

Code: Select all   Expand viewCollapse view
...
#ifndef VBOX_OSE
HRESULT CmdListPartitions(int argc, char **argv, ComPtr<IVirtualBox> aVirtualBox, ComPtr<ISession> aSession);
HRESULT CmdCreateRawVMDK(int argc, char **argv, ComPtr<IVirtualBox> aVirtualBox, ComPtr<ISession> aSession);
#endif /* !VBOX_OSE */
...

Code: Select all   Expand viewCollapse view
int handleInternalCommands(int argc, char *argv[], ComPtr <IVirtualBox> aVirtualBox, ComPtr<ISession> aSession)
{
...
#ifndef VBOX_OSE
    if (!strcmp(pszCmd, "listpartitions"))
        return CmdListPartitions(argc - 1, &argv[1], aVirtualBox, aSession);
    if (!strcmp(pszCmd, "createrawvmdk"))
        return CmdCreateRawVMDK(argc - 1, &argv[1], aVirtualBox, aSession);
#endif /* !VBOX_OSE */
...
}


Why is createrawvmdk only supported in the proprietary version?

Have fun,
eiffel56
eiffel56
Volunteer
 
Posts: 100
Joined: 10. Oct 2007, 21:53

Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: fantomframe and 18 guests