Fix pagetable code
The multi-level pagetable code fails to iterate ove all entries becauseof the L2_BITS v.s. L2_SIZE thinko.
Signed-off-by: Paul Brook <paul@codesourcery.com>
spelling typo (compatibilty) in hw/fw_cfg.c
here's a trivial patch to fix the spelling of "compatibility":
Signed-off-by: Vagrant Cascadian <vagrant@freegeek.org>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
x86/cpuid: add missing CPUID feature flag names
Some CPUID feature flags had no string value, so they could not beswitched on or off from the command line.Add names for the missing ones mentioned in the current public CPUIDspecification from both Intel and AMD. Those only mentioned in the...
x86/cpuid: add "host" to the list of supported CPU models
Signed-off-by: Andre Przywara <andre.przywara@amd.com>Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
x86/cpuid: remove unnecessary kvm_trim function
Correct me if I am wrong, but kvm_trim looks like a really bloatedimplementation of a bitwise AND. So remove this function and replaceit with the real stuff(TM).
Signed-off-by: Andre Przywara <andre.przywara@amd.com>...
x86/cpuid: add TCG feature bit trimming
In KVM we trim the user provided CPUID bits to match the host CPU'sone. Introduce a similar feature to QEMU/TCG. Create a mask of TCG'scapabilities and apply it to the user bits.This allows to let the CPU models reflect their native archetypes....
x86/cpuid: Always expose 32 and 64-bit CPUs
Since 64-bit capability is just another CPUID bit we now properlymask, there is no reason anymore to hide the 64-bit capable CPUmodels from a 32-bit only QEMU. All 64-bit CPUs can be usedperfectly in 32-bit legacy mode anyway, so these models also make...
x86/cpuid: fix CPUID levels
Bump up the xlevel number for qemu32 to allow parsing of the processorname string for this model.Similiarly the 486 processor should have at least the feature bitleaf enabled.
x86/cpuid: Enable all features of real CPU
Enable all features of real CPU, unsupported features will betrimmed depending on TCG or KVM capabilities.
Move the list of unsupported TCG features near the TCG capabilitiesmasks.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
x86/cpuid: fix indentation
View all revisions | View revisions
Also available in: Atom