Changeset 30157 in vbox for trunk/src/VBox/Main
- Timestamp:
- Jun 10, 2010 8:11:14 PM (15 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImpl.cpp
r29984 r30157 50 50 { ovf::CIMOSType_CIMOS_Unknown, SchemaDefs_OSTypeId_Other }, 51 51 { ovf::CIMOSType_CIMOS_OS2, SchemaDefs_OSTypeId_OS2 }, 52 { ovf::CIMOSType_CIMOS_OS2, SchemaDefs_OSTypeId_OS2Warp3 }, 53 { ovf::CIMOSType_CIMOS_OS2, SchemaDefs_OSTypeId_OS2Warp4 }, 54 { ovf::CIMOSType_CIMOS_OS2, SchemaDefs_OSTypeId_OS2Warp45 }, 52 55 { ovf::CIMOSType_CIMOS_MSDOS, SchemaDefs_OSTypeId_DOS }, 53 56 { ovf::CIMOSType_CIMOS_WIN3x, SchemaDefs_OSTypeId_Windows31 }, 54 57 { ovf::CIMOSType_CIMOS_WIN95, SchemaDefs_OSTypeId_Windows95 }, 55 58 { ovf::CIMOSType_CIMOS_WIN98, SchemaDefs_OSTypeId_Windows98 }, 59 { ovf::CIMOSType_CIMOS_WINNT, SchemaDefs_OSTypeId_WindowsNT }, 56 60 { ovf::CIMOSType_CIMOS_WINNT, SchemaDefs_OSTypeId_WindowsNT4 }, 57 61 { ovf::CIMOSType_CIMOS_NetWare, SchemaDefs_OSTypeId_Netware }, 58 62 { ovf::CIMOSType_CIMOS_NovellOES, SchemaDefs_OSTypeId_Netware }, 59 { ovf::CIMOSType_CIMOS_Solaris, SchemaDefs_OSTypeId_ OpenSolaris },60 { ovf::CIMOSType_CIMOS_SunOS, SchemaDefs_OSTypeId_ OpenSolaris },63 { ovf::CIMOSType_CIMOS_Solaris, SchemaDefs_OSTypeId_Solaris }, 64 { ovf::CIMOSType_CIMOS_SunOS, SchemaDefs_OSTypeId_Solaris }, 61 65 { ovf::CIMOSType_CIMOS_FreeBSD, SchemaDefs_OSTypeId_FreeBSD }, 62 66 { ovf::CIMOSType_CIMOS_NetBSD, SchemaDefs_OSTypeId_NetBSD }, … … 76 80 { ovf::CIMOSType_CIMOS_MicrosoftWindowsServer2008_64, SchemaDefs_OSTypeId_Windows2008_64 }, 77 81 { ovf::CIMOSType_CIMOS_FreeBSD_64, SchemaDefs_OSTypeId_FreeBSD_64 }, 82 { ovf::CIMOSType_CIMOS_MACOS, SchemaDefs_OSTypeId_MacOS }, 83 { ovf::CIMOSType_CIMOS_MACOS, SchemaDefs_OSTypeId_MacOS_64 }, // there is no CIM 64-bit type for this 84 85 // Linuxes 78 86 { ovf::CIMOSType_CIMOS_RedHatEnterpriseLinux, SchemaDefs_OSTypeId_RedHat }, 79 87 { ovf::CIMOSType_CIMOS_RedHatEnterpriseLinux_64, SchemaDefs_OSTypeId_RedHat_64 }, 80 { ovf::CIMOSType_CIMOS_Solaris_64, SchemaDefs_OSTypeId_ OpenSolaris_64 },88 { ovf::CIMOSType_CIMOS_Solaris_64, SchemaDefs_OSTypeId_Solaris_64 }, 81 89 { ovf::CIMOSType_CIMOS_SUSE, SchemaDefs_OSTypeId_OpenSUSE }, 82 90 { ovf::CIMOSType_CIMOS_SLES, SchemaDefs_OSTypeId_OpenSUSE }, … … 85 93 { ovf::CIMOSType_CIMOS_SLES_64, SchemaDefs_OSTypeId_OpenSUSE_64 }, 86 94 { ovf::CIMOSType_CIMOS_LINUX, SchemaDefs_OSTypeId_Linux }, 95 { ovf::CIMOSType_CIMOS_LINUX, SchemaDefs_OSTypeId_Linux22 }, 87 96 { ovf::CIMOSType_CIMOS_SunJavaDesktopSystem, SchemaDefs_OSTypeId_Linux }, 88 { ovf::CIMOSType_CIMOS_TurboLinux, SchemaDefs_OSTypeId_Linux}, 89 90 // { ovf::CIMOSType_CIMOS_TurboLinux_64, }, 91 97 { ovf::CIMOSType_CIMOS_TurboLinux, SchemaDefs_OSTypeId_Turbolinux }, 98 { ovf::CIMOSType_CIMOS_TurboLinux_64, SchemaDefs_OSTypeId_Turbolinux_64 }, 92 99 { ovf::CIMOSType_CIMOS_Mandriva, SchemaDefs_OSTypeId_Mandriva }, 93 100 { ovf::CIMOSType_CIMOS_Mandriva_64, SchemaDefs_OSTypeId_Mandriva_64 }, … … 100 107 { ovf::CIMOSType_CIMOS_Linux_2_6_x, SchemaDefs_OSTypeId_Linux26 }, 101 108 { ovf::CIMOSType_CIMOS_Linux_2_6_x_64, SchemaDefs_OSTypeId_Linux26_64 }, 102 { ovf::CIMOSType_CIMOS_Linux_64, SchemaDefs_OSTypeId_Linux26_64 } 109 { ovf::CIMOSType_CIMOS_Linux_64, SchemaDefs_OSTypeId_Linux26_64 }, 110 111 // types that we have support for but CIM doesnt 112 { ovf::CIMOSType_CIMOS_Linux_2_6_x, SchemaDefs_OSTypeId_ArchLinux }, 113 { ovf::CIMOSType_CIMOS_Linux_2_6_x_64, SchemaDefs_OSTypeId_ArchLinux_64 }, 114 { ovf::CIMOSType_CIMOS_Linux_2_6_x, SchemaDefs_OSTypeId_Fedora }, 115 { ovf::CIMOSType_CIMOS_Linux_2_6_x_64, SchemaDefs_OSTypeId_Fedora_64 }, 116 { ovf::CIMOSType_CIMOS_Linux_2_6_x, SchemaDefs_OSTypeId_Gentoo }, 117 { ovf::CIMOSType_CIMOS_Linux_2_6_x_64, SchemaDefs_OSTypeId_Gentoo_64 }, 118 { ovf::CIMOSType_CIMOS_Linux_2_6_x, SchemaDefs_OSTypeId_Xandros }, 119 { ovf::CIMOSType_CIMOS_Linux_2_6_x_64, SchemaDefs_OSTypeId_Xandros_64 }, 120 { ovf::CIMOSType_CIMOS_Solaris, SchemaDefs_OSTypeId_OpenSolaris }, 121 { ovf::CIMOSType_CIMOS_Solaris_64, SchemaDefs_OSTypeId_OpenSolaris_64 }, 122 123 // types added with CIM 2.25.0 follow: 124 { ovf::CIMOSType_CIMOS_WindowsServer2008R2, SchemaDefs_OSTypeId_Windows2008 }, // duplicate, see above 125 // { ovf::CIMOSType_CIMOS_VMwareESXi = 104, // we can't run ESX in a VM 126 { ovf::CIMOSType_CIMOS_Windows7, SchemaDefs_OSTypeId_Windows7 }, 127 { ovf::CIMOSType_CIMOS_Windows7, SchemaDefs_OSTypeId_Windows7_64 }, // there is no CIM 64-bit type for this 128 { ovf::CIMOSType_CIMOS_CentOS, SchemaDefs_OSTypeId_RedHat }, 129 { ovf::CIMOSType_CIMOS_CentOS_64, SchemaDefs_OSTypeId_RedHat_64 }, 130 { ovf::CIMOSType_CIMOS_OracleEnterpriseLinux, SchemaDefs_OSTypeId_Oracle }, 131 { ovf::CIMOSType_CIMOS_OracleEnterpriseLinux_64, SchemaDefs_OSTypeId_Oracle_64 }, 132 { ovf::CIMOSType_CIMOS_eComStation, SchemaDefs_OSTypeId_OS2eCS } 133 134 // there are no CIM types for these, so these turn to "other" on export: 135 // SchemaDefs_OSTypeId_OpenBSD 136 // SchemaDefs_OSTypeId_OpenBSD_64 137 // SchemaDefs_OSTypeId_NetBSD 138 // SchemaDefs_OSTypeId_NetBSD_64 139 103 140 }; 104 141 -
trunk/src/VBox/Main/ApplianceImplImport.cpp
r30008 r30157 1180 1180 stack.ulMemorySizeMB = (uint32_t)RTStrToUInt64(memoryVBox.c_str()); 1181 1181 1182 #ifdef VBOX_WITH_USB 1182 1183 // USB controller 1183 #ifdef VBOX_WITH_USB1184 /* USB Controller */1185 1184 std::list<VirtualSystemDescriptionEntry*> vsdeUSBController = vsdescThis->findByType(VirtualSystemDescriptionType_USBController); 1186 1185 // USB support is enabled if there's at least one such entry; to disable USB support, -
trunk/src/VBox/Main/include/ovfreader.h
r29925 r30157 34 34 35 35 enum CIMOSType_T 36 { CIMOSType_CIMOS_Unknown = 0, 36 { 37 CIMOSType_CIMOS_Unknown = 0, 37 38 CIMOSType_CIMOS_Other = 1, 38 39 CIMOSType_CIMOS_MACOS = 2, … … 136 137 CIMOSType_CIMOS_Linux_2_6_x_64 = 100, 137 138 CIMOSType_CIMOS_Linux_64 = 101, 138 CIMOSType_CIMOS_Other_64 = 102 139 CIMOSType_CIMOS_Other_64 = 102, 140 // types added with CIM 2.25.0 follow: 141 CIMOSType_CIMOS_WindowsServer2008R2 = 103, 142 CIMOSType_CIMOS_VMwareESXi = 104, 143 CIMOSType_CIMOS_Windows7 = 105, 144 CIMOSType_CIMOS_CentOS = 106, 145 CIMOSType_CIMOS_CentOS_64 = 107, 146 CIMOSType_CIMOS_OracleEnterpriseLinux = 108, 147 CIMOSType_CIMOS_OracleEnterpriseLinux_64 = 109, 148 CIMOSType_CIMOS_eComStation = 110 139 149 }; 140 150 … … 216 226 // listed in the NetworkSection at the outermost envelope level." We ignore this and only set up 217 227 // a network adapter depending on the network name. 218 iprt::MiniString strAddress; 228 iprt::MiniString strAddress; // "Device-specific. For an Ethernet adapter, this specifies the MAC address." 219 229 int32_t lAddress; // strAddress as an integer, if applicable. 220 230 iprt::MiniString strAddressOnParent; // "For a device, this specifies its location on the controller."
Note:
See TracChangeset
for help on using the changeset viewer.