Opened 18 years ago
Closed 18 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)
follow-up: 2 comment:1 by , 18 years ago
comment:2 by , 18 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 , 18 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Closing it. Reopen if you wish to add something more.
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.