diff --git a/src/vm/VirtualMachinePool.cc b/src/vm/VirtualMachinePool.cc index aa9ee823a1..63e04d71a4 100644 --- a/src/vm/VirtualMachinePool.cc +++ b/src/vm/VirtualMachinePool.cc @@ -648,6 +648,7 @@ void VirtualMachinePool::calculate_showback(time_t start_time, time_t end_time) int gid = 0; string uname = ""; string gname = ""; + string vmname = ""; if (vm != 0) { @@ -657,6 +658,8 @@ void VirtualMachinePool::calculate_showback(time_t start_time, time_t end_time) uname = vm->get_uname(); gname = vm->get_gname(); + vmname = vm->get_name(); + vm->unlock(); } @@ -668,6 +671,7 @@ void VirtualMachinePool::calculate_showback(time_t start_time, time_t end_time) body << "" << "" << vmid << "" + << "" << vmname << "" << "" << uid << "" << "" << gid << "" << "" << uname << ""