mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
parent
e2d4141599
commit
9811149add
@ -320,6 +320,13 @@ void DispatchManager::free_vm_resources(unique_ptr<VirtualMachine> vm,
|
||||
|
||||
vm->set_exit_time(time(0));
|
||||
|
||||
if (vm->hasHistory() && vm->get_etime() == 0)
|
||||
{
|
||||
vm->set_etime(time(0));
|
||||
|
||||
vmpool->update_history(vm.get());
|
||||
}
|
||||
|
||||
VectorAttribute * graphics = vm->get_template_attribute("GRAPHICS");
|
||||
|
||||
if ( graphics != nullptr && graphics->vector_value("PORT", port) == 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user