On Mon, 24 Dec 2018 12:40:56 +0200, Alexey Eromenko said:
> Why is the code for CPU VENDOR detection even exists in the first place?
> Isn't it easier to detect ONLY CPU capabilities (such as Intel VT-x /
> AMD-V ), rather than CPU vendors ?
> This would solve problems for future x86 CPU vendors, that could pop-up.

Look around in the kernel tree in arch/x86/kernel for all sorts of
AMD and Intel specific code that would be very painful if they were
called on the wrong hardware.  There's a lot of bits in CPUID leaves
and other places that aren't safe to interpret without knowing the
vendor....
_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev

Reply via email to