VirtualBox

Opened 17 years ago

Closed 17 years ago

#127 closed defect (invalid)

Bad code in CPUM.CPP file

Reported by: scvetic Owned by:
Component: other Version: VirtualBox 1.3.6
Keywords: Cc:
Guest type: other Host type: other

Description

Code in CPUM.CPP for overload CPUID instruction don't work. Code never been execute, and it is not posible to overload instruction. In OSE version is simple to corect this error.

Change History (3)

comment:1 by scvetic, 17 years ago

When I overload CPUID instruction, the guest OS detected overload data, but user program detected the original data (host CPU). I think guest OS-s are running in ring 1, and user space programs in ring 3, VirtualBox catch CPUID instruction only in ring 1 mode and then redirect, but he must catch in both mode.

in reply to:  1 comment:2 by Sander van Leeuwen, 17 years ago

I don't understand what you mean by your bug description. CPUID overloading, as you call it, works fine.

As for ring 3 programs seeing the original host cpu, that works as designed. Changing this will have severe performance implications. We can only intercept cpuid in all contexts with hardware acceleration (VT-X & AMD-V).

comment:3 by Sander van Leeuwen, 17 years ago

Resolution: invalid
Status: newclosed

Closing it. Reopen if you wish to add something more.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use