1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

F #4089: Add HT support (#4541)

This commit is contained in:
Christian González 2020-04-21 16:26:58 +02:00 committed by GitHub
parent 4269234441
commit dd308725c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -143,7 +143,8 @@ class OpenNebulaVM
hash['vcpu_count'] = Integer(vcpu)
hash['ht_enabled'] = false
ht = @xml['//TEMPLATE/TOPOLOGY/THREADS']
hash['ht_enabled'] = !(ht.nil? || ht.empty? || Integer(ht.to_s) <= 1)
end
def command_params(hash)