於 4 年 前 建立
#19901 new defect
Reopen #6650 closed on 08/14/2016
回報者: | fabnicol | 負責人: | |
---|---|---|---|
元件: | other | 版本: | VirtualBox 6.1.14 |
關鍵字: | vbox-img, convert to RAW, stdout | 副本: | |
Guest type: | Linux | Host type: | Linux |
描述
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