Achim Hasenmueller <[EMAIL PROTECTED]> writes:
> Heike C. Zimmerer wrote:
>> Is there anything that can be done if the VM doesn't allow its guest
>> to execute CPUID (pretending there's no CPUID on this CPU) even if the
>> host's CPU has one (see my previous post about XP Install on a VIA CPU)?
>>
>> I've already tried to have ASMHasCpuId() in asm.h always return true,
>> but I didn't really expect that it helps (and it didn't ...).
>>
> Check VBox.log (~/.VirtualBox/Machines/<vmname>/Logs), it contains all
> CPUID flags of both your host and what we report to the guest.
Thanks. Any idea what to look for (I'm doing much assembly language
programming, but on microcontrollers, not on x86 - some hint what and
where to look for would be much appreciated)?
The log is attached below (sorry, rather lengthy). It's been taken
with ASMHasCpuId()'s body replaced by {return true;} for the kernel
module (don't think that makes a difference).
Thanks,
Heike
=================================================================
Here's the log:
00:00:08.047 VirtualBox 1.3.2 (Jan 14 2007 15:18:34) release log
[ ... ]
00:00:08.624 ************************* CPUID dump ************************
00:00:08.624 RAW Standard CPUIDs
00:00:08.624 Function eax ebx ecx edx
00:00:08.624 Gst: 00000000 00000001 746e6543 736c7561 48727561
00:00:08.624 Hst: 00000001 746e6543 736c7561 48727561
00:00:08.624 Gst: 00000001 000006a9 0000ffff 00000000 0780a8bd
00:00:08.624 Hst: 000006a9 00010800 00000181 a7c9baff
00:00:08.624 Gst: 00000002 00000000 00000000 00000000 00000000*
00:00:08.624 Hst: 00000000 00000000 00000000 00000000
00:00:08.624 Gst: 00000003 00000000 00000000 00000000 00000000*
00:00:08.624 Hst: 00000000 00000000 00000000 00000000
00:00:08.624 Gst: 00000004 00000000 00000000 00000000 00000000*
00:00:08.624 Hst: 00000000 00000000 00000000 00000000
00:00:08.624 Gst: 00000005 80000004 00000000 00000000 00000000*
00:00:08.624 Hst: 00000000 00000000 00000000 00000000
00:00:08.624 Name: CentaurHauls
00:00:08.624 Supports: 0-1
00:00:08.624 Family: 6 Extended: 0
Effectiv: 6
00:00:08.624 Model: 10 Extended: 0
Effectiv: 10
00:00:08.624 Stepping: 9
00:00:08.624 APIC ID: 0x00
00:00:08.624 Logical CPUs: 0
00:00:08.624 CLFLUSH Size: 255
00:00:08.624 Brand ID: 0xff
00:00:08.624 Mnemonic - Description = guest (host)
00:00:08.624 FPU - x87 FPU on Chip = 1 (1)
00:00:08.624 VME - Virtual 8086 Mode Enhancements = 0 (1)
00:00:08.624 DE - Debugging extensions = 1 (1)
00:00:08.624 PSE - Page Size Extension = 1 (1)
00:00:08.624 TSC - Time Stamp Counter = 1 (1)
00:00:08.624 MSR - Model Specific Registers = 1 (1)
00:00:08.624 PAE - Physical Address Extension = 0 (1)
00:00:08.624 MCE - Machine Check Exception = 1 (1)
00:00:08.624 CX8 - CMPXCHG8B instruction = 0 (0)
00:00:08.624 APIC - APIC On-Chip = 0 (1)
00:00:08.624 Reserved = 0 (0)
00:00:08.624 SEP - SYSENTER and SYSEXIT = 1 (1)
00:00:08.624 MTRR - Memory Type Range Registers = 0 (1)
00:00:08.624 PGE - PTE Global Bit = 1 (1)
00:00:08.624 MCA - Machine Check Architecture = 0 (0)
00:00:08.624 CMOV - Conditional Move Instructions = 1 (1)
00:00:08.624 PAT - Page Attribute Table = 0 (1)
00:00:08.624 PSE-36 - 36-bit Page Size Extention = 0 (0)
00:00:08.624 PSN - Processor Serial Number = 0 (0)
00:00:08.624 CLFSH - CLFLUSH Instruction. = 0 (1)
00:00:08.624 Reserved = 0 (0)
00:00:08.624 DS - Debug Store = 0 (0)
00:00:08.624 ACPI - Thermal Mon. & Soft. Clock Ctrl.= 0 (1)
00:00:08.624 MMX - Intel MMX Technology = 1 (1)
00:00:08.624 FXSR - FXSAVE and FXRSTOR Instructions = 1 (1)
00:00:08.624 SSE - SSE Support = 1 (1)
00:00:08.624 SSE2 - SSE2 Support = 1 (1)
00:00:08.624 SS - Self Snoop = 0 (0)
00:00:08.624 HTT - Hyper-Threading Technolog = 0 (0)
00:00:08.624 TM - Thermal Monitor = 0 (1)
00:00:08.624 30 - Reserved = 0 (0)
00:00:08.624 PBE - Pending Break Enable = 0 (1)
00:00:08.624 Supports SSE3 or not = 0 (1)
00:00:08.624 Reserved = 0 (0)
00:00:08.624 Supports MONITOR/MWAIT = 0 (0)
00:00:08.624 CPL-DS - CPL Qualified Debug Store = 0 (0)
00:00:08.624 VMX - Virtual Machine Technology = 0 (0)
00:00:08.624 Reserved = 0 (0)
00:00:08.624 Enh. SpeedStep Tech = 0 (1)
00:00:08.624 Terminal Monitor 2 = 0 (1)
00:00:08.624 Reserved = 0 (0)
00:00:08.624 L1 Context ID = 0 (0)
00:00:08.624 Reserved = 0x0 (0x0)
00:00:08.624 L1 Context ID = 0 (0)
00:00:08.624 Reserved = 0x0 (0x0)
00:00:08.624
00:00:08.624 RAW Extended CPUIDs
00:00:08.624 Function eax ebx ecx edx
00:00:08.624 Gst: 80000000 80000004 00000000 00000000 00000000
00:00:08.624 Hst: 80000006 00000000 00000000 00000000
00:00:08.624 Gst: 80000001 00000000 00000000 00000000 00000000
00:00:08.624 Hst: 00000000 00000000 00000000 00100000
00:00:08.624 Gst: 80000002 20202020 20202020 20202020 20202020
00:00:08.624 Hst: 20202020 20202020 20202020 20202020
00:00:08.624 Gst: 80000003 56202020 45204149 65687473 72702072
00:00:08.624 Hst: 56202020 45204149 65687473 72702072
00:00:08.624 Gst: 80000004 7365636f 20726f73 30303231 007a484d
00:00:08.624 Hst: 7365636f 20726f73 30303231 007a484d
00:00:08.624 Gst: 80000005 00000000 00000000 00000000 00000000*
00:00:08.624 Hst: 00000000 08800880 40040140 40040140
00:00:08.624 Gst: 80000006 00000000 00000000 00000000 00000000*
00:00:08.624 Hst: 00000000 00000000 0080a140 00000000
00:00:08.624 Gst: 80000007 00000000 00000000 00000000 00000000*
00:00:08.624 Hst: 00000000 00000000 00000000 00000000
00:00:08.624 Gst: 80000008 00000000 00000000 00000000 00000000*
00:00:08.624 Hst: 00000000 00000000 00000000 00000000
00:00:08.624 Gst: 80000009 00000000 00000000 00000000 00000000*
00:00:08.624 Hst: 00000000 00000000 00000000 00000000
00:00:08.624 Gst: 8000000a 00000000 00000000 00000000 00000000*
00:00:08.624 Hst: 00000000 00000000 00000000 00000000
00:00:08.624 Ext Name:
00:00:08.624 Ext Supports: 0x80000000-0x80000004
00:00:08.624 Family: 0 Extended: 0
Effectiv: 0
00:00:08.624 Model: 0 Extended: 0
Effectiv: 0
00:00:08.624 Stepping: 0
00:00:08.624 Brand ID: 0x000
00:00:08.624 Mnemonic - Description = guest (host)
00:00:08.624 FPU - x87 FPU on Chip = 0 (0)
00:00:08.624 VME - Virtual 8086 Mode Enhancements = 0 (0)
00:00:08.624 DE - Debugging extensions = 0 (0)
00:00:08.624 PSE - Page Size Extension = 0 (0)
00:00:08.624 TSC - Time Stamp Counter = 0 (0)
00:00:08.624 MSR - K86 Model Specific Registers = 0 (0)
00:00:08.624 PAE - Physical Address Extension = 0 (0)
00:00:08.624 MCE - Machine Check Exception = 0 (0)
00:00:08.624 CX8 - CMPXCHG8B instruction = 0 (0)
00:00:08.624 APIC - APIC On-Chip = 0 (0)
00:00:08.624 10 - Reserved = 0 (0)
00:00:08.624 SEP - SYSCALL and SYSRET = 0 (0)
00:00:08.624 MTRR - Memory Type Range Registers = 0 (0)
00:00:08.624 PGE - PTE Global Bit = 0 (0)
00:00:08.624 MCA - Machine Check Architecture = 0 (0)
00:00:08.624 CMOV - Conditional Move Instructions = 0 (0)
00:00:08.624 PAT - Page Attribute Table = 0 (0)
00:00:08.650 PSE-36 - 36-bit Page Size Extention = 0 (0)
00:00:08.650 18 - Reserved = 0 (0)
00:00:08.650 19 - Reserved = 0 (0)
00:00:08.650 NX - No-Execute Page Protection = 0 (1)
00:00:08.650 DS - Debug Store = 0 (0)
00:00:08.650 AXMMX - AMD Extensions to MMX Instr. = 0 (0)
00:00:08.650 MMX - Intel MMX Technology = 0 (0)
00:00:08.650 FXSR - FXSAVE and FXRSTOR Instructions = 0 (0)
00:00:08.650 ?? - AMD fast FXSAVE and FXRSTOR Instr.= 0 (0)
00:00:08.650 26 - Reserved = 0 (0)
00:00:08.650 27 - Reserved = 0 (0)
00:00:08.650 28 - Reserved = 0 (0)
00:00:08.650 ?? - AMD Long Mode = 0 (0)
00:00:08.650 ?? - AMD Extensions to 3DNow = 0 (0)
00:00:08.650 ?? - AMD 3DNow = 0 (0)
00:00:08.650 LahfSahf - LAHF/SAHF in 64-bit mode = 0 (0)
00:00:08.650 CmpLegacy - Core MP legacy mode (depr) = 0 (0)
00:00:08.650 SVM - AMD VM Extensions = 0 (0)
00:00:08.650 3 - Reserved = 0 (0)
00:00:08.650 AltMovCR8 - LOCK MOV CR0 means MOV CR8 = 0 (0)
00:00:08.650 31:5 - Reserved = 0x0 (0x0)
00:00:08.650 Full Name: VIA Esther
processor 1200MHz
00:00:08.650
00:00:08.650 ******************** End of CPUID dump **********************
_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users