VirtualBox

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)

os64-2023-01-16-18-30-47.log (257.0 KB ) - added by Evan Teran 23 months ago.
Logs
os64.iso (504.0 KB ) - added by Evan Teran 23 months ago.
Bootable ISO which demonstrated the issue.

Download all attachments as: .zip

Change History (4)

by Evan Teran, 23 months ago

Logs

by Evan Teran, 23 months ago

Attachment: os64.iso added

Bootable ISO which demonstrated the issue.

comment:1 by Evan Teran, 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 Evan Teran, 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".

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette