VirtualBox

Ticket #127 (closed defect: invalid)

Opened 7 years ago

Last modified 7 years ago

Bad code in CPUM.CPP file

Reported by: scvetic Owned by:
Priority: major 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

comment:1 follow-up: ↓ 2 Changed 7 years ago by scvetic

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.

comment:2 in reply to: ↑ 1 Changed 7 years ago by sandervl73

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 Changed 7 years ago by sandervl73

  • Status changed from new to closed
  • Resolution set to invalid

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

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use