fix: 更新排除的驱动程序列表,添加 cirrus-qemu 和 ast

This commit is contained in:
Akizon77
2025-12-01 17:57:26 +08:00
parent c59781dfb3
commit ddb069791f

View File

@@ -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 {