Add Nested Virtualization & fix VRAMSize attribute missing error#187
Add Nested Virtualization & fix VRAMSize attribute missing error#187h6w merged 9 commits intophpvirtualbox:developfrom chotaire:chot-nested-virtualization
Conversation
|
I've tested that phpvirtualbox does properly write and remove this setting from the VM config. I am unable to test if this feature actually works because it is currently only supported on AMD CPUs, which I don't have. See https://forums.virtualbox.org/viewtopic.php?f=1&t=90831 for more info about limitations with Nested Virtualization on VirtualBox. The actual commits look proper to me and I guess this can be merged. |
|
Tested on AMD Phenom 9650. This function working |
|
Nested VM are supported also for Intel in VBox 6.1 |
|
a) I merged current vboxconnector.php https://github.com/phpvirtualbox/phpvirtualbox/blob/develop/endpoints/lib/vboxconnector.php from develop branch into my PR. @h6w: If preferred, I can delete and create a new PR, should only take a few minutes. |
|
I just checked, this file is using CRLF, like all other random files I tested in endpoints/lib so this doesn't seem to be an issue that needs to be corrected. Testers, go ahead and see if this works. I will join you guys shortly and update to VirtualBox 6.1. This PR has been updated to work with the current develop branch as of January 29, 2020. |
|
I installed vbox 6.1 and tried branch "develop", but when I click on my VM I get an "Attribute does not exist" error: ` ) |
|
@Polve Yep it is caused by a different PR. I am currently working on a fix. Gotta go shopping quickly then I will supply a patch. |
|
@Polve Please try the supplied fix. Thanks @cesium147 for the VirtualBox-6.1 patch. |
|
After upgrading to VirtualBox 6.1, I've tried pretty much all features, creating, editing, deleting VMs and playing with most configuration parameters, creating, restoring, merging, deleting snapshots, changing VGA adapters (haven't tested if they actually work), setting Nested Virtualization feature on/off, installing guest additions. Even configuring multiple concurrent connections in remote display now works. From what I can see, everything works like a charme. This is awesome. The only feature I haven't tried is Shared Folders. @h6w Please review with most urgent priority as it fixes an issue that all VirtualBox 6.1 users will experience on current develop branch (throwing a fatal exception when simply clicking a VM). Once this is merged, VirtualBox 6.1 users should have a much more stable phpvirtualbox than 6.0 users ever had. |
It works fine for me, thanks! |
|
Ok, so we're going back to the $m->GraphicsAdapter model. I must admit that raised an eyebrow when it was changed the first time. This seems a more sensible model. Thanks! :-) |
|
@h6w thanks for the quick action. I hope this will give developers a good base to work with in the future as we now have a really well working 6.1 version. I've tested it a lot today and decided to move it to production, it works so much better than master branch. VirtualBox 5.2 goes out of support in July 2020. I hope you can keep an eye on this and merge develop to master in time. That would also stop confusing users wondering why there is no support for 6.0 and 6.1. All eyes on @pasha1st and @cesium147 who made this huge step forward possible. ♥ |
|
Yep. Let's give it 14 days to settle in and then I'll release if there aren't any more reports of major issues. :-) |
|
The VirtualBox dev team in Germany being thankful for the news is sure "that it will make people happy". |

This pull request adds the option to select Nested Virtualization if supported by the CPU. This will allow hypervisors to be run inside hypervisors which is very helpful for QA and testing setups.
Coded by @pasha1st - his pull request #167 got legitimately rejected due to several issues so I am lending a helping hand and split this into multiple pull requests. This needs tested and finally merged, we need to move forward.