VirtualBox

Opened 10 years ago

Closed 10 years ago

#13176 closed defect (fixed)

[PATCH] LONG64 properties misformatted in showvminfo output => Fixed in SVN

Reported by: Lars Seipel Owned by:
Component: other Version: VirtualBox 4.3.12
Keywords: VBoxManage showvminfo machinereadable Cc:
Guest type: other Host type: other

Description

When using the --machinereadable flag in VBoxManage's showvminfo command some of the resulting output is misformatted, e.g:

Time offset=0rtcuseutc="on"

The key part of TimeOffset is printed using its human-readable representation. Also, what should be two lines gets joined due to a missing newline.

This is caused by an error in the definition of the SHOW_LONG64_PROP macro. A simple patch (s/a_szHuman/a_szMachine/ plus addition of the '\n', basically) is attached to this report.

While the issue is mentioned in passing in 12073, the latter seems to be a more general enhancement request so I decided to create a new ticket for this.

Attachments (1)

VBoxManage-showvminfo-fix-i64-mach-output.diff (636 bytes ) - added by Lars Seipel 10 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by Frank Mehnert, 10 years ago

Summary: [PATCH] LONG64 properties misformatted in showvminfo output[PATCH] LONG64 properties misformatted in showvminfo output => Fixed in SVN

Thank you for this report. The fix will be part of the next maintenance release.

comment:2 by Frank Mehnert, 10 years ago

Resolution: fixed
Status: newclosed

Fixed in 4.3.14.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use