qemu/target-i386
Andre Przywara 6c1f42fe83 fix KVMs GET_SUPPORTED_CPUID feature usage
If we want to trim the user provided CPUID bits for KVM to be not greater
than that of the host, we should not remove the bits _after_ we sent
them to the kernel.
This fixes the masking of features that are not present on the host by
moving the trim function and it's call from helper.c to kvm.c.
It helps to use -cpu host.

Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2009-06-29 13:52:11 -05:00
..
cpu.h Handle init/sipi in a main cpu exec loop. (v2) 2009-06-22 10:15:28 -05:00
exec.h Handle init/sipi in a main cpu exec loop. (v2) 2009-06-22 10:15:28 -05:00
helper.c fix KVMs GET_SUPPORTED_CPUID feature usage 2009-06-29 13:52:11 -05:00
helper.h x86: Add support for resume flag 2009-05-22 10:50:37 -05:00
helper_template.h Update FSF address in GPL/LGPL boilerplate 2009-01-04 22:05:52 +00:00
kvm.c fix KVMs GET_SUPPORTED_CPUID feature usage 2009-06-29 13:52:11 -05:00
machine.c kvm: x86: Save/restore KVM-specific CPU states 2009-05-22 10:50:34 -05:00
op_helper.c x86: Add support for resume flag 2009-05-22 10:50:37 -05:00
ops_sse.h Replace gcc variadic macro extension with C99 version 2009-05-13 17:53:17 +00:00
ops_sse_header.h Update FSF address in GPL/LGPL boilerplate 2009-01-04 22:05:52 +00:00
svm.h reworked SVM interrupt handling logic - fixed vmrun EIP saved value - reworked cr8 handling - added CPUState.hflags2 2008-06-04 17:02:19 +00:00
TODO SVM rework 2008-05-28 16:16:54 +00:00
translate.c x86: Add support for resume flag 2009-05-22 10:50:37 -05:00