feature #3028: Keep used PCI devices when updating monitoring

This commit is contained in:
Ruben S. Montero committed 2015-08-27 16:24:38 +02:00
1 parent 6757fa6672
commit f2eb5edef4
1 file changed
+5
+5
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;