close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_fs.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- 澤哥再詢問 OpenNEbula 啟動 windows 的問題時,查了一下發現 1.4 2.0 都說可以支援 windows image,但測試卻都不行,會來去看了一下原始碼,雖然Ruby 看不懂,但幸好英文看的懂:
$ vim ./src/vmm/VirtualMachineManager.cc
897 if ( type == "XEN" )
898 {
899 vmm_driver = new XenDriver(uid, vattr->value(),(uid != 0),vmpool);
900 }
901 else if ( type == "KVM" )
902 {
903 vmm_driver = new LibVirtDriver(uid, vattr->value(),
904 (uid != 0),vmpool,"kvm");
905 }
$ vim ./src/vmm/LibVirtDriver.cc
145 if (emulator == "kvm")
146 {
147 file << "\t\t<type>hvm</type>" << endl;
148 }
- 原來 hvm 模式再 OpenNEbula 只支援 KVM,Xen目前再 OpenNEbula 尚未支援
- 參考設定檔連結
Download in other formats: