6c1f42fe83
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> |
||
---|---|---|
.. | ||
cpu.h | ||
exec.h | ||
helper_template.h | ||
helper.c | ||
helper.h | ||
kvm.c | ||
machine.c | ||
op_helper.c | ||
ops_sse_header.h | ||
ops_sse.h | ||
svm.h | ||
TODO | ||
translate.c |