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

B #5052: Fix resched of VM with NIC (#468)

(cherry picked from commit d4bcdb917ccfa57f374c7f2c62197a492dd4f242)
This commit is contained in:
Pavel Czerný 2020-11-26 11:05:34 +01:00 committed by Ruben S. Montero
parent f9c7740459
commit 20d99da656
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -1601,7 +1601,7 @@ void Scheduler::dispatch()
<< "\"]";
}
if ( num_matched_networks < nics_ids.size())
if (!vm->is_resched() && num_matched_networks < nics_ids.size())
{
map<int,int>::iterator it;