VirtualBox

Ticket #19901 (new defect)

Opened 7 months ago

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

Attachments

vbox-6.1.14-vbox-img.patch Download (876 bytes) - added by fabnicol 7 months ago.
Patch against current source code package 6.1.14a
log Download (2.1 KB) - added by fabnicol 7 months ago.
Log of vbox-img defect and patched vbox-img behavior

Change History

Changed 7 months ago by fabnicol

Patch against current source code package 6.1.14a

Changed 7 months ago by fabnicol

  • attachment log Download added

Log of vbox-img defect and patched vbox-img behavior

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use