Statistics
| Branch: | Revision:

root / target-i386 @ 6a4e1771

Name Size
Makefile.objs 394 Bytes
TODO 1 kB
arch_dump.c 12.2 kB
arch_memory_mapping.c 7.9 kB
cc_helper.c 10.1 kB
cc_helper_template.h 6.6 kB
cpu-qom.h 2.7 kB
cpu.c 84 kB
cpu.h 38.4 kB
excp_helper.c 4.1 kB
fpu_helper.c 29.8 kB
helper.c 41 kB
helper.h 7.3 kB
hyperv.c 1.2 kB
hyperv.h 1.2 kB
int_helper.c 9.8 kB
ioport-user.c 1.6 kB
kvm-stub.c 375 Bytes
kvm.c 66.5 kB
kvm_i386.h 1.3 kB
machine.c 15.6 kB
mem_helper.c 3.6 kB
misc_helper.c 15.2 kB
ops_sse.h 73.4 kB
ops_sse_header.h 13 kB
seg_helper.c 79.3 kB
shift_helper_template.h 2.8 kB
smm_helper.c 10.1 kB
svm.h 5.7 kB
svm_helper.c 26.7 kB
topology.h 4.8 kB
translate.c 283.3 kB

Latest revisions

# Date Author Comment
38ebb396 05/10/2013 08:59 pm Aurelien Jarno

target-i386: ROR r8/r16 imm instruction fix

Fix EFLAGS corruption by ROR r8/r16 imm instruction located at the end
of the TB, similarly to commit 089305ac for the non-immediate case.

Reported-by: Hervé Poussineau <>
Reviewed-by: Richard Henderson <>...

4458c236 05/06/2013 11:27 pm Borislav Petkov

target-i386: n270 can MOVBE

The Atom core (cpu name "n270" in QEMU speak) supports MOVBE. This is
needed when booting 3.8 and later linux kernels built with the MATOM
target because we require MOVBE in order to boot properly now.

Signed-off-by: Borislav Petkov <>...

0668af54 05/06/2013 11:14 pm Eduardo Habkost

target-i386: Introduce generic CPUID feature compat function

Introduce x86_cpu_compat_set_features(), that can be used to set/unset
feature bits on specific CPU models for machine-type compatibility.

Signed-off-by: Eduardo Habkost <>
Signed-off-by: Andreas Färber <>

b2a856d9 05/06/2013 08:55 pm Andreas Färber

target-i386: Change CPUID model of 486 to 8

This changes the model number of 486 to 8 (DX4) which matches the
feature set presented, and actually has the CPUID instruction.

This adds a compatibility property, to keep model=0 on pc-*-1.4 and older.

Signed-off-by: H. Peter Anvin <>...

ba2bc7a4 05/06/2013 08:55 pm Andreas Färber

target-i386: Emulate X86CPU subclasses for global properties

After initializing the object from its x86_def_t and before setting any
additional cpu arguments, set any global properties for the designated
subclass <name>
{i386,x86_64}-cpu.

Reviewed-by: Eduardo Habkost <>...

034acf4a 05/06/2013 08:16 pm Eduardo Habkost

target-i386: Introduce X86CPU::filtered_features field

This field will contain the feature bits that were filtered out because
of missing host support.

Signed-off-by: Eduardo Habkost <>
Reviewed-by: Eric Blake <>
Signed-off-by: Andreas Färber <>

7e5292b5 05/06/2013 08:16 pm Eduardo Habkost

target-i386: Add "filtered-features" property to X86CPU

This property will contain all the features that were removed from the
CPU because they are not supported by the host.

This way, libvirt or other management tools can emulate the
check/enforce behavior by checking if filtered-properties is all zeroes,...

8e8aba50 05/06/2013 08:16 pm Eduardo Habkost

target-i386: Add "feature-words" property to X86CPU

This property will be useful for libvirt, as libvirt already has logic
based on low-level feature bits (not feature names), so it will be
really easy to convert the current libvirt logic to something using the...

bd87d2a2 05/06/2013 06:53 pm Eduardo Habkost

target-i386: Use FeatureWord loop on filter_features_for_kvm()

Instead of open-coding the filtering code for each feature word, change
the existing code to use the feature_word_info array, that has exactly
the same CPUID eax/ecx/register values for each feature word....

04d104b6 05/06/2013 06:53 pm Eduardo Habkost

target-i386: Add ECX information to FeatureWordInfo

FEAT_7_0_EBX uses ECX as input, so we have to take that into account
when reporting feature word values.

Signed-off-by: Eduardo Habkost <>
Signed-off-by: Andreas Färber <>

View revisions

Also available in: Atom