Opened 4 years ago
#19901 new defect
Reopen #6650 closed on 08/14/2016
Reported by: | fabnicol | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 6.1.14 |
Keywords: | vbox-img, convert to RAW, stdout | Cc: | |
Guest type: | Linux | Host type: | Linux |
Description
vbox-img --help documentation allows the convert
command to output to stdout. This has been requested by forum users a few times in several forums. Mentioned 2010 ticket is just one user case. But this usage fails, as seen in log attached.
There seems to be an unjustified regression in the code, in vbox-img.cpp
:797. The following line of code was withdrawn at changeset 33235 with commit message "Storage/vbox-img: implement stdout handling".
AssertFailedReturn(VERR_NOT_SUPPORTED);
However for some reason this line has been reintroduced later on.
I tested a custom build of vbox-img with the attached patch and the requested stdout handling worked well. Attached proposed patch against 6.1.14a code.
Alternatively, if this capability is still immature, revise the --help
output and reopen #6650
Patch against current source code package 6.1.14a