File tree Expand file tree Collapse file tree 1 file changed +35
-2
lines changed
scripts/vm/hypervisor/kvm Expand file tree Collapse file tree 1 file changed +35
-2
lines changed Original file line number Diff line number Diff line change 324
324
# "used_by_vm": null
325
325
# }
326
326
# ]
327
- # }
327
+ # },
328
+ # {
329
+ # "pci_address":"05:00.0",
330
+ # "vendor_id":"1002",
331
+ # "device_id":"74a5",
332
+ # "vendor":"Advanced Micro Devices, Inc. [AMD/ATI]",
333
+ # "device":"Aqua Vanjaram [Instinct MI325X]",
334
+ # "driver":"amdgpu",
335
+ # "pci_class":"Processing accelerators [1200]",
336
+ # "iommu_group":"null",
337
+ # "pci_root":"0000:05:00.0",
338
+ # "numa_node":-1,
339
+ # "sriov_totalvfs":0,
340
+ # "sriov_numvfs":0,
341
+ # "max_instances":null,
342
+ # "video_ram":null,
343
+ # "max_heads":null,
344
+ # "max_resolution_x":null,
345
+ # "max_resolution_y":null,
346
+ #
347
+ # "full_passthrough": {
348
+ # "enabled":1,
349
+ # "libvirt_address": {
350
+ # "domain":"0x0000",
351
+ # "bus":"0x05",
352
+ # "slot":"0x00",
353
+ # "function":"0x0"
354
+ # },
355
+ # "used_by_vm":null
356
+ # },
357
+
358
+ # "vgpu_instances":[],
359
+ # "vf_instances":[]
360
+ # }
328
361
# ]
329
362
# }
330
363
#
@@ -716,7 +749,7 @@ for LINE in "${LINES[@]}"; do
716
749
fi
717
750
718
751
# Only process GPU classes (3D controller)
719
- if [[ ! " $PCI_CLASS " =~ (3D\ controller) ]]; then
752
+ if [[ ! " $PCI_CLASS " =~ (3D\ controller| Processing \ accelerators ) ]]; then
720
753
continue
721
754
fi
722
755
You can’t perform that action at this time.
0 commit comments