Statistics
| Branch: | Revision:

root / target-i386 @ e3e87df4

Name Size
TODO 1 kB
arch_dump.c 12 kB
arch_memory_mapping.c 7.8 kB
cpu-qom.h 1.9 kB
cpu.c 59.1 kB
cpu.h 32.1 kB
helper.c 38.2 kB
helper.h 6.3 kB
helper_template.h 8.6 kB
hyperv.c 1.2 kB
hyperv.h 1.2 kB
kvm.c 57.4 kB
machine.c 14.1 kB
op_helper.c 166.6 kB
ops_sse.h 60 kB
ops_sse_header.h 11.7 kB
svm.h 5.7 kB
translate.c 256.7 kB

Latest revisions

# Date Author Comment
34941700 06/06/2012 03:57 pm Anthony Liguori

Merge remote-tracking branch 'qmp/queue/qmp' into staging

  • qmp/queue/qmp: (29 commits)
    Add 'query-events' command to QMP to query async events
    qapi: convert netdev_del
    qapi: convert netdev_add
    net: net_client_init(): use error_set()
    net: purge the monitor object from all init functions...
b7e516ce 06/05/2012 12:00 am Andreas Färber

Kill off cpu_state_reset()

In commit 1bba0dc932e8826a7d030df3767daf0bc339f9a2 cpu_reset()
was renamed to cpu_state_reset(), to allow introducing a new cpu_reset()
that would operate on QOM objects.

All callers have been updated except for one in target-mips, so drop all...

232fc23b 06/05/2012 12:00 am Andreas Färber

target-i386: Pass X86CPU to do_cpu_{init,sipi}()

Allows to use cpu_reset() in place of cpu_state_reset().

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

b47ed996 06/05/2012 12:00 am Andreas Färber

target-i386: Let cpu_x86_init() return X86CPU

Turn cpu_init macro into a static inline function returning CPUX86State
for backwards compatibility.

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

9fecbed0 06/04/2012 07:49 pm Wen Congyang

target-i386: Add API to write elf notes to core file

The core file contains register's value. These APIs write registers to
core file, and them will be called in the following patch.

Signed-off-by: Wen Congyang <>
Signed-off-by: Luiz Capitulino <>

90166b71 06/04/2012 07:49 pm Wen Congyang

target-i386: Add API to write cpu status to core file

The core file has register's value. But it does not include all registers value.
Store the cpu status into QEMU note, and the user can get more information
from vmcore. If you change QEMUCPUState, please count up QEMUCPUSTATE_VERSION....

25ae9c1d 06/04/2012 07:49 pm Wen Congyang

target-i386: add API to get dump info

Dump info contains: endian, class and architecture. The next
patch will use these information to create vmcore. Note: on
x86 box, the class is ELFCLASS64 if the memory is larger than 4G.

Signed-off-by: Wen Congyang <>...

0038ffb0 06/04/2012 07:49 pm Wen Congyang

target-i386: Add API to get note's size

We should know where the note and memory is stored before writing
them to vmcore. If we know this, we can avoid using lseek() when
creating vmcore.

Signed-off-by: Wen Congyang <>
Signed-off-by: Luiz Capitulino <>

fae001f5 06/04/2012 07:49 pm Wen Congyang

implement cpu_get_memory_mapping()

Walk cpu's page table and collect all virtual address and physical address mapping.
Then, add these mapping into memory mapping list. If the guest does not use paging,
it will do nothing. Note: the I/O memory will be skipped....

31a2207a 06/04/2012 07:49 pm Wen Congyang

Add API to check whether paging mode is enabled

This API will be used in the following patch.

Signed-off-by: Wen Congyang <>
Signed-off-by: Luiz Capitulino <>

View revisions

Also available in: Atom