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

Feature #1712: Fix scheduler resched migration

This commit is contained in:
Carlos Martín 2013-10-10 18:09:13 +02:00
parent e24fc1aae4
commit 18d67d02af

View File

@ -863,7 +863,7 @@ void Scheduler::dispatch()
//------------------------------------------------------------------
// Dispatch and update host and DS capacity, and dispatch counters
//------------------------------------------------------------------
if (vmpool->dispatch(vm_it->first, hid, dsid, false) != 0)
if (vmpool->dispatch(vm_it->first, hid, dsid, vm->is_resched()) != 0)
{
continue;
}