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*") matches, _ := filepath.Glob("/sys/class/drm/card*")
excludedDrivers := map[string]bool{ excludedDrivers := map[string]bool{
"virtio-pci": true, "virtio-pci": true,
"virtio_gpu": true, "virtio_gpu": true,
"bochs-drm": true, "bochs-drm": true,
"qxl": true, "qxl": true,
"vmwgfx": true, "vmwgfx": true,
"cirrus": true, "cirrus": true,
"vboxvideo": true, "vboxvideo": true,
"hyperv_fb": true, "hyperv_fb": true,
"simpledrm": true, "simpledrm": true,
"simplefb": true, "simplefb": true,
"cirrus-qemu": true,
"ast": true, //some LXC containers
} }
for _, path := range matches { for _, path := range matches {