VirtualBox

Opened 16 years ago

Closed 16 years ago

#2481 closed defect (fixed)

Need a way to force string type in extra data => fixed for version 2.1

Reported by: TobiX Owned by:
Component: other Version: VirtualBox 2.0.2
Keywords: Cc:
Guest type: Windows Host type: Windows

Description

When setting ExtraData to change the BIOS identification, I have the problem that DmiSystemVersion is numerical and the code in source:/trunk/src/VBox/Main/ConsoleImpl2.cpp@13538#L1975 interprets it as integer.

The VM can't start because of this:

00:00:00.487 ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={d5a1cbda-f5d7-4824-9afe-d640c94c7dcf} aComponent={Console}
       aText={Configuration error: Querying "DmiSystemVersion" as a string failed.
00:00:00.487 VBox status code: -2107 (VERR_CFGM_NOT_STRING)} aWarning=false, preserve=false
00:00:00.492 Power up failed (vrc=VERR_CFGM_NOT_STRING, hrc=E_FAIL (0X80004005))

Is there some way to force this to be a string?

Change History (1)

comment:1 by Michael Thayer, 16 years ago

Resolution: fixed
Status: newclosed
Summary: Need a way to force string type in extra dataNeed a way to force string type in extra data => fixed for version 2.1

As of version 2.1 (this should be in the public svn repository by tomorrow) you will be able to do this by specifying "string:<value>" as the extra data value.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use