mirror of
https://github.com/fankes/komari-agent.git
synced 2026-02-04 12:17:30 +08:00
fix: 更新排除的驱动程序列表,添加 cirrus-qemu 和 ast
This commit is contained in:
@@ -104,16 +104,18 @@ func getFromSysfsDRM() string {
|
||||
matches, _ := filepath.Glob("/sys/class/drm/card*")
|
||||
|
||||
excludedDrivers := map[string]bool{
|
||||
"virtio-pci": true,
|
||||
"virtio_gpu": true,
|
||||
"bochs-drm": true,
|
||||
"qxl": true,
|
||||
"vmwgfx": true,
|
||||
"cirrus": true,
|
||||
"vboxvideo": true,
|
||||
"hyperv_fb": true,
|
||||
"simpledrm": true,
|
||||
"simplefb": true,
|
||||
"virtio-pci": true,
|
||||
"virtio_gpu": true,
|
||||
"bochs-drm": true,
|
||||
"qxl": true,
|
||||
"vmwgfx": true,
|
||||
"cirrus": true,
|
||||
"vboxvideo": true,
|
||||
"hyperv_fb": true,
|
||||
"simpledrm": true,
|
||||
"simplefb": true,
|
||||
"cirrus-qemu": true,
|
||||
"ast": true, //some LXC containers
|
||||
}
|
||||
|
||||
for _, path := range matches {
|
||||
|
||||
Reference in New Issue
Block a user