Upstream proxmox-git/pve-manager state of the touched files before 7e127c68a1
This commit is contained in:
1 parent
d8f02f4336
commit
673ea85f23
1 file changed
+2
-2
@@ -83,10 +83,10 @@ Ext.define('PVE.qemu.PCIInputPanel', {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// try to find out if there are more devices in that iommu group
|
// try to find out if there are more devices in that iommu group
|
||||||
let id = path.substring(0, path.indexOf('.')); // 0000:00:00
|
let id = path.substring(0, 5); // 00:00
|
||||||
let count = 0;
|
let count = 0;
|
||||||
pcisel.getStore().each(({ data }) => {
|
pcisel.getStore().each(({ data }) => {
|
||||||
if (data.iommugroup === iommu && !data.id.startsWith(id)) {
|
if (data.iommugroup === iommu && data.id.substring(0, 5) !== id) {
|
||||||
count++;
|
count++;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user