VirtualBox

Ticket #4452 (closed defect: fixed)

Opened 5 years ago

Last modified 3 years ago

ovf HostResource formatting compatibility issue

Reported by: helmo Owned by:
Priority: minor Component: other
Version: VirtualBox 3.0.0 Keywords: ovf import
Cc: Guest type: Linux
Host type: Linux

Description

file: /trunk/src/VBox/Main/ApplianceImpl.cpp

in Appliance::HandleVirtualSystemContent() on line 1098 (revision 21404)

The assumption is made that a HostResource is formatted like " ovf://disk/" or "/disk/" The ovf specification 1.0.0 however suggests "ovf:/disk/" (a single slash)

I discovered this while trying to import a ovf created by VMware OVF Tool v1.0.0 I got the error "Hard disk item with instance ID 7 specifies invalid host resource"

After changing the ovf xml to include an extra slash the import succeeded.

Change History

comment:1 Changed 5 years ago by umoeller

Thanks for pointing this out. The fix will be in 3.0.2.

comment:2 Changed 5 years ago by umoeller

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use