VirtualBox

Ignore:
Timestamp:
Feb 25, 2025 3:44:10 PM (8 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
167740
Message:

Additions: Linux: vboxvideo: Print message to dmesg advising to switch to VMSVGA graphics for newer kernels (move to .probe), bugref:10279.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/drm/vbox_drv.c

    r108377 r108379  
    8585        int ret = 0;
    8686
     87#if RTLNX_VER_MIN(6,0,0)
     88        static bool fWarned = false;
     89        if (!fWarned)
     90        {
     91                printk(KERN_ERR "vboxvideo: VM is using legacy graphics controller, "
     92                                "please consider to configure this guest to use VMSVGA instead\n");
     93                fWarned = true;
     94        }
     95#endif
     96
    8797# if RTLNX_VER_RANGE(5,14,0, 6,13,0) || RTLNX_RHEL_RANGE(8,6, 8,99)
    8898#  if RTLNX_VER_MIN(5,15,0) || RTLNX_RHEL_RANGE(8,7, 8,99) || RTLNX_RHEL_MIN(9,1) || RTLNX_SUSE_MAJ_PREREQ(15,4)
     
    427437                return -EINVAL;
    428438
    429 #if RTLNX_VER_MIN(6,0,0)
    430         printk(KERN_ERR "vboxvideo: VM is using legacy graphics controller, "
    431                         "please consider to configure this guest to use VMSVGA instead\n");
    432 #endif
    433 
    434439        printk("vboxvideo: loading version " VBOX_VERSION_STRING " r" __stringify(VBOX_SVN_REV) "\n");
    435440        if (VBOX_VIDEO_NOMODESET())
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette