VirtualBox

Ticket #2481 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

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

Reported by: TobiX Owned by:
Priority: minor 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

comment:1 Changed 5 years ago by michael

  • Status changed from new to closed
  • Resolution set to fixed
  • Summary changed from Need a way to force string type in extra data to Need 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.

www.oracle.com
ContactPrivacy policyTerms of Use