VirtualBox

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

附加檔案 (2)

vbox-6.1.14-vbox-img.patch (876 位元組 ) - 4 年 前, 由 fabnicol 新增
Patch against current source code package 6.1.14a
log (2.1 KB ) - 4 年 前, 由 fabnicol 新增
Log of vbox-img defect and patched vbox-img behavior

下載所有附檔: .zip

更動歷史 (2)

4 年 前fabnicol 編輯

Patch against current source code package 6.1.14a

4 年 前fabnicol 編輯

附檔: 新增 log

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

注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

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