qemu-e2k/target-i386
Eduardo Habkost a509d632c8 target-i386: Check for host features before filter_features_for_kvm()
commit 5ec01c2e96 broke "-cpu ..,enforce",
as it has moved kvm_check_features_against_host() after the
filter_features_for_kvm() call. filter_features_for_kvm() removes all
features not supported by the host, so this effectively made
kvm_check_features_against_host() impossible to fail.

This patch changes the call so we check for host feature support before
filtering the feature bits.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-id: 1364935692-24004-1-git-send-email-ehabkost@redhat.com
Cc: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2013-04-03 15:06:37 -05:00
..
arch_dump.c
arch_memory_mapping.c
cc_helper_template.h target-i386: Implement BLSR, BLSMSK, BLSI 2013-02-18 15:52:05 -08:00
cc_helper.c target-i386: Add CC_OP_CLR 2013-02-19 23:05:18 -08:00
cpu-qom.h cpu: Replace do_interrupt() by CPUClass::do_interrupt method 2013-03-12 10:35:55 +01:00
cpu.c target-i386: Check for host features before filter_features_for_kvm() 2013-04-03 15:06:37 -05:00
cpu.h cpu: Replace do_interrupt() by CPUClass::do_interrupt method 2013-03-12 10:35:55 +01:00
excp_helper.c
fpu_helper.c target-i386: SSE4.2: use clz32/ctz32 instead of reinventing the wheel 2013-04-01 18:49:17 +02:00
helper.c target-i386: Don't modify env->eflags around cpu_dump_state 2013-03-23 14:30:12 +00:00
helper.h target-i386: Use mulu2 and muls2 2013-02-27 19:06:28 +00:00
hyperv.c
hyperv.h
int_helper.c target-i386: Use mulu2 and muls2 2013-02-27 19:06:28 +00:00
ioport-user.c
kvm_i386.h
kvm-stub.c
kvm.c cpu: Move halted and interrupt_request fields to CPUState 2013-03-12 10:35:55 +01:00
machine.c cpu: Move halted and interrupt_request fields to CPUState 2013-03-12 10:35:55 +01:00
Makefile.objs
mem_helper.c
misc_helper.c cpu: Move halted and interrupt_request fields to CPUState 2013-03-12 10:35:55 +01:00
ops_sse_header.h
ops_sse.h target-i386: SSE4.2: use clz32/ctz32 instead of reinventing the wheel 2013-04-01 18:49:17 +02:00
seg_helper.c cpu: Replace do_interrupt() by CPUClass::do_interrupt method 2013-03-12 10:35:55 +01:00
shift_helper_template.h target-i386: compute eflags outside rcl/rcr helper 2013-02-18 15:03:56 -08:00
smm_helper.c
svm_helper.c cpu: Move halted and interrupt_request fields to CPUState 2013-03-12 10:35:55 +01:00
svm.h
TODO
topology.h target-i386: Inline bitops_flsl 2013-02-16 11:12:29 +00:00
translate.c target-i386: SSE4.1: fix pinsrb instruction 2013-04-01 18:49:15 +02:00