Statistics
| Branch: | Revision:

root @ df32fd1c

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 28.9 kB
async.c 5.3 kB
balloon.c 3.7 kB
block-migration.c 21.8 kB
block.c 125.4 kB
blockdev-nbd.c 3.2 kB
blockdev.c 52.2 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.8 kB
cputlb.c 10.9 kB
device-hotplug.c 2.2 kB
device_tree.c 7.9 kB
disas.c 12.9 kB
dma-helpers.c 6.9 kB
dtc 0 Bytes
dump.c 22.3 kB
exec.c 72.2 kB
gdbstub.c 76.3 kB
hmp-commands.hx 44.9 kB
hmp.c 42.6 kB
hmp.h 4.1 kB
iohandler.c 6 kB
ioport.c 13.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.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 16.7 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 95.9 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.4 kB
qemu-coroutine-io.c 2.4 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 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 75.9 kB
qmp.c 13.7 kB
qtest.c 13.3 kB
readline.c 13.2 kB
rules.mak 4.7 kB
savevm.c 64 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 76.6 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.7 kB
xbzrle.c 4 kB
xen-all.c 35.3 kB
xen-mapcache.c 12.4 kB
xen-stub.c 1.2 kB

Latest revisions

# Date Author Comment
df32fd1c 06/20/2013 05:39 pm Paolo Bonzini

dma: eliminate DMAContext

The DMAContext is a simple pointer to an AddressSpace that is now always
already available. Make everyone hold the address space directly,
and clean up the DMA API to use the AddressSpace directly.

Reviewed-by: Peter Maydell <>...

96478592 06/20/2013 05:32 pm Paolo Bonzini

spapr_vio: take care of creating our own AddressSpace/DMAContext

Fetch the root region from the sPAPRTCETable, and use it to build
an AddressSpace and DMAContext.

Now, everywhere we have a DMAContext we also have access to the
corresponding AddressSpace (either because we create it just before...

30951157 06/20/2013 05:32 pm Avi Kivity

memory: iommu support

Add a new memory region type that translates addresses it is given,
then forwards them to a target address space. This is similar to
an alias, except that the mapping is more flexible than a linear
translation and trucation, and also less efficient since the...

06866575 06/20/2013 05:32 pm David Gibson

memory: Add iommu map/unmap notifiers

This patch adds a NotifierList to MemoryRegions which represent IOMMUs
allowing other parts of the code to register interest in mappings or
unmappings from the IOMMU. All IOMMU implementations will need to call
memory_region_notify_iommu() to inform those waiting on the notifier list,...

06d985f5 06/20/2013 05:32 pm Avi Kivity

vfio: abort if an emulated iommu is used

vfio doesn't support guest iommus yet, indicate it to the user
by gently depositing a core on their disk.

Reviewed-by: Peter Maydell <>
Signed-off-by: Avi Kivity <>
Signed-off-by: Paolo Bonzini <>

2b7dc949 06/20/2013 05:32 pm Paolo Bonzini

spapr: convert TCE API to use an opaque type

The TCE table is currently returned as a DMAContext, and non-type-safe
APIs are called later passing back the DMAContext. Since we want to move
away from DMAContext, use an opaque type instead, and add an accessor...

a71bfbfe 06/20/2013 05:32 pm Paolo Bonzini

spapr: make IOMMU translation go through IOMMUTLBEntry

The next step is to introduce the translation code that will be used for
IOMMU MemoryRegions, but still do the actual translation in a DMAContext.

Acked-by: David Gibson <>...

a84bb436 06/20/2013 05:32 pm Paolo Bonzini

spapr: use memory core for iommu support

Now we can stop using a "translating" DMAContext, but we do not yet modify
the sPAPRTCETable users to get an AddressSpace; they keep using the table
via a DMAContext.

Acked-by: David Gibson <>...

24addbc7 06/20/2013 05:32 pm Paolo Bonzini

dma: eliminate old-style IOMMU support

The translate function in the DMAContext is now always NULL.
Remove every reference to it.

Reviewed-by: Peter Maydell <>
Signed-off-by: Paolo Bonzini <>

e00387d5 06/20/2013 05:32 pm Avi Kivity

pci: use memory core for iommu support

Use the new iommu support in the memory core for iommu support. The only
user, spapr, is also converted, but it still provides a DMAContext
interface until the non-PCI bits switch to AddressSpace.

Reviewed-by: Michael S. Tsirkin <>...

View all revisions | View revisions

Also available in: Atom