- Timestamp:
- Apr 3, 2009 4:07:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImpl.cpp
r18685 r18702 1841 1841 1842 1842 // rollback for errors: 1843 // 1)a list of images that we created/imported1843 // a list of images that we created/imported 1844 1844 list<MyHardDiskAttachment> llHardDiskAttachments; 1845 1845 list< ComPtr<IHardDisk> > llHardDisksCreated; … … 1922 1922 rc = pNewMachine->COMSETTER(VRAMSize)(vramVBox); 1923 1923 if (FAILED(rc)) throw rc; 1924 1925 /* I/O APIC: so far we have no setting for this. Enable it if we 1926 import a Windows VM because if if Windows was installed without IOAPIC, 1927 it will not mind finding an one later on, but if Windows was installed 1928 _with_ an IOAPIC, it will bluescreen if it's not found */ 1929 Bstr bstrFamilyId; 1930 rc = osType->COMGETTER(FamilyId)(bstrFamilyId.asOutParam()); 1931 if (FAILED(rc)) throw rc; 1932 1933 Utf8Str strFamilyId(bstrFamilyId); 1934 if (strFamilyId == "Windows") 1935 { 1936 ComPtr<IBIOSSettings> pBIOSSettings; 1937 rc = pNewMachine->COMGETTER(BIOSSettings)(pBIOSSettings.asOutParam()); 1938 if (FAILED(rc)) throw rc; 1939 1940 rc = pBIOSSettings->COMSETTER(IOAPICEnabled)(TRUE); 1941 if (FAILED(rc)) throw rc; 1942 } 1924 1943 1925 1944 /* Audio Adapter */
Note:
See TracChangeset
for help on using the changeset viewer.