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

feature #3028: Keep used PCI devices when updating monitoring

This commit is contained in:
Ruben S. Montero 2015-08-27 16:24:38 +02:00
parent 6757fa6672
commit f2eb5edef4

View File

@ -248,6 +248,11 @@ void HostSharePCI::set_monitorization(vector<Attribute*> &pci_att)
{
pci_it = pci_devices.find(*jt);
if ( pci_it->second->vmid != -1 )
{
continue;
}
remove(pci_it->second->attrs);
delete pci_it->second->attrs;