Statistics
| Branch: | Revision:

root / target-i386 @ 444ba679

Name Size
Makefile.objs 394 Bytes
TODO 1 kB
arch_dump.c 12.3 kB
arch_memory_mapping.c 8 kB
cc_helper.c 10.1 kB
cc_helper_template.h 6.6 kB
cpu-qom.h 3 kB
cpu.c 84.1 kB
cpu.h 37.9 kB
excp_helper.c 4.1 kB
fpu_helper.c 29.8 kB
helper.c 41.1 kB
helper.h 7.3 kB
hyperv.c 1.2 kB
hyperv.h 1.2 kB
int_helper.c 10.5 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 16.5 kB
mem_helper.c 3.8 kB
misc_helper.c 15.9 kB
ops_sse.h 73.4 kB
ops_sse_header.h 13 kB
seg_helper.c 80.5 kB
shift_helper_template.h 2.8 kB
smm_helper.c 10.6 kB
svm.h 5.7 kB
svm_helper.c 27.1 kB
topology.h 4.8 kB
translate.c 283.7 kB

Latest revisions

# Date Author Comment
444ba679 07/23/2013 03:36 pm Orit Wasserman

Fix real mode guest migration

Older KVM versions save CS dpl value to an invalid value for real mode guests
(0x3). This patch detect this situation when loading CPU state and set all the
segments dpl to zero.
This will allow migration from older KVM on host without unrestricted guest...

51455c59 07/10/2013 06:54 pm Anthony Liguori

Merge remote-tracking branch 'afaerber/tags/qom-cpu-for-anthony' into staging

QOM CPUState refactorings

  • Fix for OpenRISCCPU subclasses
  • Fix for gdbstub CPU selection
  • Move linux-user CPU functions into new header
  • CPUState part 10 refactoring: first_cpu, next_cpu, cpu_single_env et al....
ca4c810a 07/09/2013 10:33 pm Andreas Färber

target-i386: Change do_interrupt_all() argument to X86CPU

Prepares for log_cpu_state() changing argument to CPUState.

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

518e9d7d 07/09/2013 10:33 pm Andreas Färber

target-i386: Change do_smm_enter() argument to X86CPU

Prepares for log_cpu_state_mask() changing argument to CPUState.

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

a0762859 07/09/2013 10:33 pm Andreas Färber

log: Change log_cpu_state[_mask]() argument to CPUState

Since commit 878096eeb278a8ac1ccd6667af73e026f29b4cf5 (cpu: Turn
cpu_dump_{state,statistics}() into CPUState hooks) CPUArchState is no
longer needed.

Add documentation and make the functions available through qemu/log.h...

8995b7a0 07/09/2013 10:33 pm Andreas Färber

target-i386: Change LOG_PCALL_STATE() argument to CPUState

Since log_cpu_state_mask() argument was changed to CPUState,
CPUArchState is no longer needed.

Choose CPUState rather than X86CPU to not hide type mismatches with CPU.

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

91b1df8c 07/09/2013 10:33 pm Andreas Färber

cpu: Move reset logging to CPUState

x86 was using additional CPU_DUMP_* flags, so make that configurable in
CPUClass::reset_dump_flags.

This adds reset logging for alpha, unicore32 and xtensa.

Acked-by: Michael Walle <> (for lm32)
Reviewed-by: Richard Henderson <>...

467215c2 07/09/2013 10:33 pm Andreas Färber

target-i386: Change gen_intermediate_code_internal() argument to X86CPU

Also use bool type while at it.

Prepares for moving singlestep_enabled field to CPUState.

Reviewed-by: Richard Henderson <>
Signed-off-by: Andreas Färber <>

369ff018 07/09/2013 10:33 pm Andreas Färber

target-i386: Don't overuse CPUArchState

Use CPUX86State instead in dump support code.

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

182735ef 07/09/2013 10:32 pm Andreas Färber

cpu: Make first_cpu and next_cpu CPUState

Move next_cpu from CPU_COMMON to CPUState.
Move first_cpu variable to qom/cpu.h.

gdbstub needs to use CPUState::env_ptr for now.
cpu_copy() no longer needs to save and restore cpu_next.

Acked-by: Paolo Bonzini <>...

View revisions

Also available in: Atom