@@ -1913,6 +1913,7 @@ public function remote_machineSave($args) {
1913
1913
$ m ->setExtraData ('phpvb/icon ' , $ args ['customIcon ' ]);
1914
1914
1915
1915
$ m ->VRAMSize = $ args ['VRAMSize ' ];
1916
+ $ m ->graphicsControllerType = $ args ['graphicsControllerType ' ];
1916
1917
1917
1918
// Video
1918
1919
$ m ->accelerate3DEnabled = $ args ['accelerate3DEnabled ' ];
@@ -3843,6 +3844,7 @@ public function remote_machineCreate($args) {
3843
3844
$ this ->session ->machine ->chipsetType = (string )$ defaults ->recommendedChipset ;
3844
3845
$ this ->session ->machine ->ClipboardMode = 'Disabled ' ;
3845
3846
if (intval ($ defaults ->recommendedVRAM ) > 0 ) $ this ->session ->machine ->VRAMSize = intval ($ defaults ->recommendedVRAM );
3847
+ $ this ->session ->machine ->setGraphicsControllerType ((string )$ defaults ->recommendedGraphicsController );
3846
3848
$ this ->session ->machine ->setCpuProperty ('PAE ' ,$ defaults ->recommendedPAE );
3847
3849
3848
3850
// USB input devices
@@ -4211,6 +4213,7 @@ private function _machineGetDetails(&$m) {
4211
4213
'HPETEnabled ' => $ m ->HPETEnabled ,
4212
4214
'memorySize ' => $ m ->memorySize ,
4213
4215
'VRAMSize ' => $ m ->VRAMSize ,
4216
+ 'graphicsControllerType ' => (string )$ m ->graphicsControllerType ,
4214
4217
'pointingHIDType ' => (string )$ m ->pointingHIDType ,
4215
4218
'keyboardHIDType ' => (string )$ m ->keyboardHIDType ,
4216
4219
'accelerate3DEnabled ' => $ m ->accelerate3DEnabled ,
0 commit comments