VirtualBox

Opened 7 years ago

#17286 new defect

OSType and longmode don't stay in sync (eg OSType Debian_64 but longmode is off)

Reported by: quiettime Owned by:
Component: other Version: VirtualBox 5.2.0
Keywords: longmode Cc:
Guest type: all Host type: all

Description

I am working with a VM that has several snapshots taken when the OSType was set to Linux 32-bit but I have since switched the OSType to Debian 64-bit. What I have noticed is if I restore a snapshot that was taken with a 32-bit OSType it will still say Debian 64-bit, and it appears it is not a per-snapshot value.

If I want to boot with 64-bit support after working in a 32-bit snapshot (ie longmode disabled) I have to switch from Debian 64-bit to Debian 32-bit, click OK, go back again switch back to Debian 64-bit and click OK. That will set longmode on. This caused me a lot of confusion because when I had checked the OS I couldn't figure out why it was crashing, since it said Debian 64-bit, then I did some diffs comparing to a new VM and realized what happens.

I think OS_Type should be a per-snapshot value. Basically you shouldn't show Debian 64-bit when 64-bit is not actually supported (ie longmode disabled). I think that is a reasonable assumption.

Version 5.2.0 r118431 (Qt5.6.2)

Change History (0)

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use