Statistics
| Branch: | Revision:

root / target-i386 @ 53a89e26

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.6 kB
cpu.c 78.7 kB
cpu.h 38.6 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.4 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.2 kB

Latest revisions

# Date Author Comment
53a89e26 05/01/2013 02:06 pm Igor Mammedov

target-i386: Move APIC to ICC bus

It allows APIC to be hotplugged.

  • map APIC's mmio at board level if it is present
  • do not register mmio region for each APIC, since
    only one is used/mapped

Signed-off-by: Igor Mammedov <>
Signed-off-by: Andreas Färber <>

62fc403f 05/01/2013 02:06 pm Igor Mammedov

target-i386: Attach ICC bus to CPU on its creation

X86CPU should have parent bus so it could provide bus for child APIC.

Signed-off-by: Igor Mammedov <>
Signed-off-by: Andreas Färber <>

baaeda08 05/01/2013 02:04 pm Igor Mammedov

target-i386: Replace MSI_SPACE_SIZE with APIC_SPACE_SIZE

Put APIC_SPACE_SIZE in a public header so that it can be
reused elsewhere later.

Signed-off-by: Igor Mammedov <>
Signed-off-by: Andreas Färber <>

c72bf468 05/01/2013 02:04 pm Jens Freimann

cpu: Move cpu_write_elfXX_note() functions to CPUState

Convert cpu_write_elfXX_note() functions to CPUClass methods and pass
CPUState as argument. Update target-i386 accordingly.

Signed-off-by: Jens Freimann <>
[AF: Retain stubs as CPUClass' default method implementation; style changes]...

997395d3 05/01/2013 02:04 pm Igor Mammedov

cpu: Introduce get_arch_id() method and override it for X86CPU

get_arch_id() adds possibility for generic code to get a guest-visible
CPU ID without accessing CPUArchState.
If derived classes don't override it, it will return cpu_index.

Override it on target-i386 in X86CPU to return the APIC ID....

72ac2e87 05/01/2013 02:04 pm Igor Mammedov

target-i386: Introduce feat2prop() for CPU properties

This helper replaces '_' with '-' in a uniform way.
As a side effect, even custom mappings must use '-' now.

Signed-off-by: Igor Mammedov <>
[AF: Split off; operate on NUL-terminated string rather than '=' delimiter]...

31050930 05/01/2013 02:04 pm Igor Mammedov

target-i386: Introduce apic-id CPU property

The property is used from board level to set APIC ID for CPUs it
creates. Do so in a new pc_new_cpu() helper, to be reused for hot-plug.

Signed-off-by: Igor Mammedov <>
Reviewed-by: Eduardo Habkost <>...

8d6d4980 05/01/2013 02:04 pm Igor Mammedov

target-i386: Do not allow to set apic-id once CPU is realized

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

089305ac 04/20/2013 10:27 pm Pavel Dovgaluk

i386 ROR r8/r16 instruction fix

Fixed EFLAGS corruption by ROR r8/r16 instruction located at the end of the TB.

Signed-off-by: Pavel Dovgalyuk <>
Reviewed-by: Richard Henderson <>
Signed-off-by: Aurelien Jarno <>

917367aa 04/18/2013 05:27 am Marcelo Tosatti

target-i386: kvm: save/restore steal time MSR

Read and write steal time MSR, so that reporting is functional across
migration.

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Gleb Natapov <>

View revisions

Also available in: Atom