VirtualBox

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

Attachments (2)

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

Download all attachments as: .zip

Change History (2)

by fabnicol, 4 years ago

Attachment: vbox-6.1.14-vbox-img.patch added

Patch against current source code package 6.1.14a

by fabnicol, 4 years ago

Attachment: log added

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

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette