Statistics
| Branch: | Revision:

root @ a2247f8e

Name Size
  QMP
  audio
  backends
  block
  bsd-user
  default-configs
  disas
  docs
  fpu
  fsdev
  gdb-xml
  hw
  include
  ldscripts
  libcacard
  linux-headers
  linux-user
  net
  pc-bios
  po
  qapi
  qga
  qobject
  qom
  roms
  scripts
  slirp
  stubs
  sysconfigs
  target-alpha
  target-arm
  target-cris
  target-i386
  target-lm32
  target-m68k
  target-microblaze
  target-mips
  target-moxie
  target-openrisc
  target-ppc
  target-s390x
  target-sh4
  target-sparc
  target-unicore32
  target-xtensa
  tcg
  tests
  trace
  ui
  util
.exrc 220 Bytes
.gitignore 1.7 kB
.gitmodules 746 Bytes
.mailmap 1.2 kB
CODING_STYLE 3.1 kB
COPYING 17.6 kB
COPYING.LIB 25.8 kB
Changelog 22.6 kB
HACKING 6 kB
LICENSE 519 Bytes
MAINTAINERS 16.2 kB
Makefile 15.6 kB
Makefile.objs 3.5 kB
Makefile.target 5.2 kB
README 80 Bytes
VERSION 7 Bytes
aio-posix.c 6.7 kB
aio-win32.c 5.8 kB
arch_init.c 29.4 kB
async.c 5.3 kB
balloon.c 3.7 kB
block-migration.c 21.8 kB
block.c 125.7 kB
blockdev-nbd.c 3.2 kB
blockdev.c 52.8 kB
blockjob.c 7.6 kB
bt-host.c 5.2 kB
bt-vhci.c 4.5 kB
configure 117 kB
coroutine-gthread.c 5.8 kB
coroutine-sigaltstack.c 8.3 kB
coroutine-ucontext.c 5.6 kB
coroutine-win32.c 2.6 kB
cpu-exec.c 29 kB
cpus.c 33.2 kB
cputlb.c 11.3 kB
device-hotplug.c 2.2 kB
device_tree.c 7.9 kB
disas.c 12.9 kB
dma-helpers.c 7 kB
dtc 0 Bytes
dump.c 22.2 kB
exec.c 72.2 kB
gdbstub.c 76.7 kB
hmp-commands.hx 44.9 kB
hmp.c 43.1 kB
hmp.h 4.1 kB
iohandler.c 6 kB
ioport.c 8.3 kB
kvm-all.c 52.7 kB
kvm-stub.c 2.3 kB
main-loop.c 13.1 kB
memory.c 56.8 kB
memory_mapping.c 7 kB
migration-exec.c 1.7 kB
migration-fd.c 1.6 kB
migration-tcp.c 2.3 kB
migration-unix.c 2.2 kB
migration.c 17.1 kB
monitor.c 138.5 kB
nbd.c 30.4 kB
os-posix.c 8.5 kB
os-win32.c 4.2 kB
page_cache.c 5 kB
pixman 0 Bytes
qapi-schema-test.json 1.7 kB
qapi-schema.json 99.8 kB
qdev-monitor.c 18.1 kB
qdict-test-data.txt 88.4 kB
qemu-bridge-helper.c 11.1 kB
qemu-char.c 96.9 kB
qemu-coroutine-io.c 2.9 kB
qemu-coroutine-lock.c 4.7 kB
qemu-coroutine-sleep.c 898 Bytes
qemu-coroutine.c 2.9 kB
qemu-doc.texi 89.7 kB
qemu-img-cmds.hx 2.2 kB
qemu-img.c 66.7 kB
qemu-img.texi 13.8 kB
qemu-io-cmds.c 51.9 kB
qemu-io.c 9.8 kB
qemu-log.c 4.8 kB
qemu-nbd.c 17.6 kB
qemu-nbd.texi 2.1 kB
qemu-options-wrapper.h 1 kB
qemu-options.h 1.4 kB
qemu-options.hx 112.1 kB
qemu-seccomp.c 8 kB
qemu-tech.texi 22.9 kB
qemu-timer.c 18.8 kB
qemu.sasl 1.3 kB
qmp-commands.hx 77.8 kB
qmp.c 13.7 kB
qtest.c 13.3 kB
readline.c 13.2 kB
rules.mak 4.7 kB
savevm.c 64.9 kB
spice-qemu-char.c 8.8 kB
tcg-runtime.c 2.4 kB
tci.c 35.8 kB
thread-pool.c 9.7 kB
thunk.c 8.8 kB
tpm.c 7.6 kB
trace-events 77.2 kB
translate-all.c 53.6 kB
translate-all.h 1.2 kB
user-exec.c 19.5 kB
version.rc 749 Bytes
vl.c 121.8 kB
xbzrle.c 4 kB
xen-all.c 35.4 kB
xen-mapcache.c 12.4 kB
xen-stub.c 1.2 kB

Latest revisions

# Date Author Comment
a2247f8e 07/09/2013 10:33 pm Andreas Färber

linux-user: Change thread_env to CPUState

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 <>...

6291ad77 07/09/2013 10:20 pm Peter Maydell

linux-user: Move cpu_clone_regs() and cpu_set_tls() into linux-user

The functions cpu_clone_regs() and cpu_set_tls() are not purely CPU
related -- they are specific to the TLS ABI for a a particular OS.
Move them into the linux-user/ tree where they belong....

6e42be7c 07/09/2013 10:20 pm Andreas Färber

cpu: Drop unnecessary dynamic casts in *_env_get_cpu()

A transition from CPUFooState to FooCPU can be considered safe,
just like FooCPU::env access in the opposite direction.
The only benefit of the FOO_CPU() casts would be protection against
bogus CPUFooState pointers, but then surrounding code would likely...

80b7cd73 07/09/2013 10:20 pm Andreas Färber

kvm: Free current_cpu identifier

Since CPU loops are done as last step in kvm_{insert,remove}_breakpoint()
and kvm_remove_all_breakpoints(), we do not need to distinguish between
invoking CPU and iterated CPUs and can thereby free the identifier for
use as a global variable....

4917cf44 07/09/2013 10:20 pm Andreas Färber

cpu: Replace cpu_single_env with CPUState current_cpu

Move it to qom/cpu.h.

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

1d5791f4 07/09/2013 10:20 pm Andreas Färber

kvm: Change kvm_remove_all_breakpoints() argument to CPUState

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

9b056fcc 07/09/2013 10:20 pm Andreas Färber

linux-user: Clean up do_syscall() Coding Style for TARGET_NR_exit

In particular fix 6-/10-char indentation.

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

aa48dd93 07/09/2013 09:50 pm Andreas Färber

Revert "gdbstub: Simplify find_cpu()"

This reverts commit c52a6b67c1d7c6fc9fb2e3ba988d7b978e1487d3, which
replaced cpu_index() with cpu_index field, leading to deviation from
thread ID for NTPL and off-by-one otherwise.

Reported-by: Max Filippov <>...

071b3364 07/09/2013 08:09 pm Dongxue Zhang

target-openrisc: Fix typename in openrisc_cpu_class_by_name()

Commit 478032a93d908e59085c1ac56f10979942e7dc4f (target-openrisc:
Rename CPU subtypes) suffixed CPU sub-types with "-or32-cpu" but forgot
to update openrisc_cpu_class_by_name(), so that it was still looking for...

View all revisions | View revisions

Also available in: Atom