Opened 23 months ago
Last modified 23 months ago
#21412 new defect
Virtualbox + Hyper-V + 1GB Paging doesn't seem to be supported?
Reported by: | Evan Teran | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox-7.0.4 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | Windows |
Description
I have a toy OS in which I use 1GB pages.
The hardware supports 1GB. It works correctly on my Linux machine within VirtualBox. It works correctly on windows when Hyper-V is disabled. It works correctly on windows using their Hyper-V VM manager. It works correctly in qemu.
My conclusion so far is that the specific combination of VirtualBox + Hyper-V + 1GB paging is simply not yet supported correctly.
The result is a triple fault the moment the page is accessed for any reason. I'm not on my development machine at the moment, but I will post a log and a bootable ISO demonstrating the issue as soon as I can.
I'd definitely prefer to use VirtualBox for this as the Hyper-V VMs are quite limited.
Thanks!
Attachments (2)
Change History (4)
by , 23 months ago
Attachment: | os64-2023-01-16-18-30-47.log added |
---|
comment:1 by , 23 months ago
I've attached the logs and a minimal bootable. When it works correctly, it should print "Hello World" to the VGA buffer, white text on a blue background.
Finally, it will spin around a hlt instruction, effectively disabling the CPU since interrupts are never enabled.
I also confirmed that this works correctly in VMWare workstation player on Windows 11 with Hyper-V enabled.
comment:2 by , 23 months ago
Last bit of information is that looking more carefully at the logs, I see this:
00:00:04.980987 Page1GB - 1 GB large page = 0 (1)
Which indicates that the Host supports 1 GB pages, but the guest does not. So I suppose this changes this ticket from a "defect" to a "feature request".
Logs