Changes between Initial Version and Version 1 of ONE/windows


Ignore:
Timestamp:
Sep 27, 2010, 3:18:25 PM (14 years ago)
Author:
rock
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ONE/windows

    v1 v1  
     1 * 澤哥再詢問 OpenNEbula 啟動 windows 的問題時,查了一下發現 [http://www.google.com/url?sa=t&source=web&cd=2&ved=0CCAQFjAB&url=http%3A%2F%2Fwww.opennebula.org%2F_media%2Fdocumentation%3Aopennebula_1.4_features_rev20100615.pdf&ei=Z0SgTN7_CJCkvgP4raCJDQ&usg=AFQjCNFNuu0VAACDDAt3JJLI_G7RrW9Y1Q&sig2=oRro7s8vmt3HnlPJAREJ9g 1.4] [http://www.google.com/url?sa=t&source=web&cd=3&ved=0CCcQFjAC&url=http%3A%2F%2Fwww.opennebula.org%2F_media%2Fdocumentation%3Aopennebula_2.0_features_rev20100913.pdf&ei=Z0SgTN7_CJCkvgP4raCJDQ&usg=AFQjCNFNV7IOB17x_76MK_502K3rkEfuAQ&sig2=QzBKo8zoXz1YSJXlWivJ4A 2.0] 都說可以支援 windows image,但測試卻都不行,會來去看了一下原始碼,雖然Ruby 看不懂,但幸好英文看的懂:
     2{{{
     3$ vim ./src/vmm/VirtualMachineManager.cc
     4897         if ( type == "XEN" )
     5898         {
     6899             vmm_driver = new XenDriver(uid, vattr->value(),(uid != 0),vmpool);
     7900         }                                                                                                           
     8901         else if ( type == "KVM" )
     9902         {
     10903             vmm_driver = new LibVirtDriver(uid, vattr->value(),
     11904                                            (uid != 0),vmpool,"kvm");
     12905         }
     13}}}
     14{{{
     15$ vim ./src/vmm/LibVirtDriver.cc
     16145     if (emulator == "kvm") 
     17146     {                       
     18147         file << "\t\t<type>hvm</type>" << endl;                                                                     
     19148     }
     20}}}
     21 * 原來 hvm 模式再 OpenNEbula 只支援 KVM,Xen目前再 OpenNEbula 尚未支援
     22 * [http://lists.opennebula.org/pipermail/users-opennebula.org/2010-March/001765.html 參考設定檔連結]