Statistics
| Branch: | Revision:

root @ 7443b437

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.1 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.6 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.5 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.3 kB
exec.c 70.7 kB
gdbstub.c 76.3 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.8 kB
kvm-stub.c 2.3 kB
main-loop.c 13.1 kB
memory.c 55.1 kB
memory_mapping.c 7.1 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.6 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.4 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
b7e95164 07/04/2013 06:42 pm Paolo Bonzini

exec: simplify destruction of the phys map

Do not bother visiting the radix tree when an address space is destroyed.
After the previous patch, this has become a pointless exercise. When
called from address_space_destroy_dispatch, all you're doing is zeroing...

803c0816 07/04/2013 06:42 pm Paolo Bonzini

memory: add getter for owner

Whenever memory regions are accessed outside the BQL, they need to be
preserved against hot-unplug. MemoryRegions actually do not have their
own reference count; they piggyback on a QOM object, their "owner".
The owner is set at creation time, and there is a function to retrieve...

46637be2 07/04/2013 06:42 pm Paolo Bonzini

memory: add ref/unref

Reviewed-by: Jan Kiszka <>
Signed-off-by: Paolo Bonzini <>

3ce10901 07/04/2013 06:42 pm Paolo Bonzini

memory: introduce memory_region_present

This new API will avoid having too many memory_region_ref/unref
in paths that currently use memory_region_find.

Signed-off-by: Paolo Bonzini <>

dfde4e6e 07/04/2013 06:42 pm Paolo Bonzini

memory: add ref/unref calls

Add ref/unref calls at the following places:

- places where memory regions are stashed by a listener and
used outside the BQL (including in Xen or KVM).

- memory_region_find callsites

- creation of aliases and containers (only the aliased/contained...

23887b79 07/04/2013 06:42 pm Paolo Bonzini

exec: check MRU in qemu_ram_addr_from_host

This function is not used outside the iothread mutex, so it
can use ram_list.mru_block.

Signed-off-by: Paolo Bonzini <>

7443b437 07/04/2013 06:42 pm Paolo Bonzini

exec: move qemu_ram_addr_from_host_nofail to cputlb.c

After the next patch it would not be used elsewhere anyway. Also,
the _nofail and the standard versions of this function return different
things, which is confusing. Removing the function from the public headers...

5767e4e1 07/04/2013 06:42 pm Jan Kiszka

ioport: Move portio types to ioport.h

This decouples memory.h from ioport.h, concentrating all portio related
types in a single header.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Paolo Bonzini <>

2c9b15ca 07/04/2013 06:42 pm Paolo Bonzini

memory: add owner argument to initialization functions

Signed-off-by: Paolo Bonzini <>

058bc4b5 07/04/2013 06:42 pm Paolo Bonzini

memory: destroy phys_sections one by one

phys_sections_clear is invoked after the dispatch tree has been
destroyed. This leaves a window where phys_sections_nb > 0 but the
subpages are not valid anymore, which is a recipe for use-after-free
bugs.

Move the destruction of subpages in phys_sections_clear. We will...

View all revisions | View revisions

Also available in: Atom