mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 11:52:37 +09:00
feature #3028: Keep used PCI devices when updating monitoring
This commit is contained in:
1 parent
6757fa6672
commit
f2eb5edef4
1 file changed
+5
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user