VirtualBox

Changeset 101200 in vbox for trunk/src/VBox/Main/xml


Ignore:
Timestamp:
Sep 20, 2023 2:14:26 PM (20 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
159173
Message:

Main,FE/Qt: Add the QEMU RAM based framebuffer device as a possible graphics controller for ARM platforms. Allows getting graphics output on guests like OpenSuse 15.4 and Oracle Linux 9 which don't have a compatible VSVGA3 device driver, bugref:10386

Location:
trunk/src/VBox/Main/xml
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/xml/Settings.cpp

    r101199 r101200  
    56365636                else if (strGraphicsControllerType == "VBOXSVGA")
    56375637                    type = GraphicsControllerType_VBoxSVGA;
     5638                else if (strGraphicsControllerType == "QEMURAMFB")
     5639                    type = GraphicsControllerType_QemuRamFB;
    56385640                else if (strGraphicsControllerType == "NONE")
    56395641                    type = GraphicsControllerType_Null;
     
    74847486                case GraphicsControllerType_VMSVGA:             pcszGraphics = "VMSVGA"; break;
    74857487                case GraphicsControllerType_VBoxSVGA:           pcszGraphics = "VBoxSVGA"; break;
     7488                case GraphicsControllerType_QemuRamFB:          pcszGraphics = "QemuRamFB"; break;
    74867489                default: /*case GraphicsControllerType_Null:*/  pcszGraphics = "None"; break;
    74877490            }
     
    93929395    if (m->sv < SettingsVersion_v1_20)
    93939396    {
    9394         // VirtualBox 7.1 (settings v1.20) adds support for different VM platforms.
    9395         if (   hardwareMachine.platformSettings.architectureType != PlatformArchitecture_None
    9396             && hardwareMachine.platformSettings.architectureType != PlatformArchitecture_x86)
     9397        // VirtualBox 7.1 (settings v1.20) adds support for different VM platforms and the QEMU RAM based framebuffer device.
     9398        if (   (   hardwareMachine.platformSettings.architectureType != PlatformArchitecture_None
     9399                && hardwareMachine.platformSettings.architectureType != PlatformArchitecture_x86)
     9400            || hardwareMachine.graphicsAdapter.graphicsControllerType == GraphicsControllerType_QemuRamFB)
    93979401        {
    93989402            /* Note: The new chipset type ARMv8Virtual implies setting the platform architecture type to ARM. */
  • trunk/src/VBox/Main/xml/VirtualBox-settings.xsd

    r101035 r101200  
    290290    <xsd:enumeration value="VMSVGA"/>
    291291    <xsd:enumeration value="VBoxSVGA"/>
     292    <xsd:enumeration value="QemuRamFB"/>
    292293  </xsd:restriction>
    293294</xsd:simpleType>
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