Page 1 of 1

VRAM source code

Posted: 6. Apr 2016, 18:51
by Ymogn
I'm trying to modify the source code to get VirtualBox to allow me to assign more ram to the virtual vram than 256MB.

Looking at the source code organization page on this site, it looks like the sections I'd need to modify are:
-src/VBox/Devices/: Code for the various guest devices that the VMM virtualizes, such as the audio, network, and graphics card, as well as the virtual hard disk and USB controller.
-src/VBox/HostDrivers/: Below this directory, you find the following device drivers (or kernel modules respectively) that run on the host system:
-src/VBox/HostDrivers/VBoxTAP/: This contains a TAP driver for Windows (not needed with Linux since the Linux kernel has one). (This is a host driver and therefore does not belong under Devices/ above.)
src/VBox/HostDrivers/Support/: The main VirtualBox host driver that allows the VMM to gain control over your system. A real trojan horse, but a friendly one

I'm new to coding and only have about 40% confidence in my ability to achieve this goal, so any insight or information would be much appreciated. Comments about not needing more than 256MB or telling me that I'm using VirtualBox wrong are unhelpful, and unnecessary.

Re: VRAM source code

Posted: 18. Aug 2017, 03:39
by Cancer1987
That's what I want to do!! :)
But I'new to virtualbox's coding too, have only 30% confidence in my ability to achieve our goal.
Maybe we can make friends with each other. :D
My email is 514005989@qq.com.

Re: VRAM source code

Posted: 18. Aug 2017, 09:24
by mpack
I think you may take it for granted that the people who think this change is useful, by definition can't know how to do it.