Statistics
| Branch: | Revision:

root @ ff6986ce

Name Size
  audio
  backends
  block
  bsd-user
  default-configs
  disas
  docs
  fpu
  fsdev
  gdb-xml
  hw
  include
  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 810 Bytes
.mailmap 1.3 kB
.travis.yml 2.8 kB
CODING_STYLE 3.1 kB
COPYING 17.6 kB
COPYING.LIB 25.8 kB
Changelog 22.6 kB
HACKING 7 kB
LICENSE 846 Bytes
MAINTAINERS 17.7 kB
Makefile 17.4 kB
Makefile.objs 3.9 kB
Makefile.target 5.1 kB
README 88 Bytes
VERSION 7 Bytes
aio-posix.c 6.2 kB
aio-win32.c 6 kB
arch_init.c 32.8 kB
async.c 6.9 kB
balloon.c 3.7 kB
block-migration.c 22.8 kB
block.c 135.6 kB
blockdev-nbd.c 3 kB
blockdev.c 67.3 kB
blockjob.c 7.6 kB
bt-host.c 5.2 kB
bt-vhci.c 4.5 kB
configure 125 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.3 kB
cpus.c 37 kB
cputlb.c 10.9 kB
device-hotplug.c 2.2 kB
device_tree.c 8.5 kB
disas.c 13.6 kB
dma-helpers.c 7 kB
dtc 0 Bytes
dump.c 23.2 kB
exec.c 74.8 kB
gdbstub.c 43.2 kB
hmp-commands.hx 47 kB
hmp.c 46.2 kB
hmp.h 4.3 kB
iohandler.c 6 kB
ioport.c 8.9 kB
kvm-all.c 52.8 kB
kvm-stub.c 2.4 kB
main-loop.c 13.5 kB
memory.c 57.6 kB
memory_mapping.c 10.3 kB
migration-exec.c 1.8 kB
migration-fd.c 1.6 kB
migration-rdma.c 104.9 kB
migration-tcp.c 2.3 kB
migration-unix.c 2.3 kB
migration.c 18.8 kB
monitor.c 142.4 kB
nbd.c 30.5 kB
os-posix.c 8.5 kB
os-win32.c 4.2 kB
page_cache.c 5 kB
pixman 0 Bytes
qapi-schema.json 114.7 kB
qdev-monitor.c 20.1 kB
qdict-test-data.txt 88.4 kB
qemu-bridge-helper.c 11.1 kB
qemu-char.c 98.9 kB
qemu-coroutine-io.c 3 kB
qemu-coroutine-lock.c 4.8 kB
qemu-coroutine-sleep.c 1.3 kB
qemu-coroutine.c 3 kB
qemu-doc.texi 89.7 kB
qemu-img-cmds.hx 2.6 kB
qemu-img.c 78.6 kB
qemu-img.texi 17.3 kB
qemu-io-cmds.c 52.9 kB
qemu-io.c 10.8 kB
qemu-log.c 4.8 kB
qemu-nbd.c 19.4 kB
qemu-nbd.texi 2.5 kB
qemu-options-wrapper.h 1 kB
qemu-options.h 1.4 kB
qemu-options.hx 113.1 kB
qemu-seccomp.c 7.8 kB
qemu-tech.texi 22.9 kB
qemu-timer.c 15.8 kB
qemu.nsi 7.2 kB
qemu.sasl 1.3 kB
qmp-commands.hx 86.2 kB
qmp.c 13.7 kB
qtest.c 13.6 kB
readline.c 13.2 kB
rules.mak 6.1 kB
savevm.c 65.1 kB
spice-qemu-char.c 9 kB
tcg-runtime.c 2.4 kB
tci.c 35.6 kB
thread-pool.c 9.5 kB
thunk.c 8.8 kB
tpm.c 7.6 kB
trace-events 77.9 kB
translate-all.c 53.4 kB
translate-all.h 995 Bytes
user-exec.c 19.8 kB
version.rc 797 Bytes
vl.c 121.3 kB
xbzrle.c 4 kB
xen-all.c 35.7 kB
xen-mapcache.c 12.4 kB
xen-stub.c 1.2 kB

Latest revisions

# Date Author Comment
6780a22c 12/24/2013 07:02 pm Stefan Hajnoczi

qdev: Drop misleading qbus_free() function

Same reasoning as commit 02a5c4c97422b40034f31265e0f139f7846172a8
("qdev: Drop misleading qdev_free() function"). The qbus_free()
function removes the child from the namespace and decrements the
reference count. It does not, however, guarantee to free the child...

d3b0c9e9 12/24/2013 07:02 pm xiaoqiang zhao

apic: Cleanup for QOM'ification

Do some cleanup, including:
1. Remove DO_UPCAST() for APICCommonState
2. Change DeviceState pointers from 'd' to 'dev', better to understand
3. Rename 'register_types' to specifically 'apic_common_register_types'

Signed-off-by: xiaoqiang zhao <>...

ff6986ce 12/24/2013 07:02 pm xiaoqiang zhao

apic: QOM'ify APIC

Convert 'init' function to QOM's 'realize' for apic, kvm/apic and
xen/xen_apic.

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

f54c19ca 12/24/2013 07:02 pm Hervé Poussineau

qom: Detect bad reentrance during object_class_foreach()

We should not modify the type hash table while it is being iterated on.
Assert that it does not happen.

Signed-off-by: Hervé Poussineau <>
Signed-off-by: Paolo Bonzini <>...

1b111dc1 12/24/2013 06:27 pm Markus Armbruster

hw: cannot_instantiate_with_device_add_yet due to pointer props

Pointer properties can be set only by code, not by device_add. A
device with a pointer property can work with device_add only when the
property may remain null.

This is the case for property "interrupt_vector" of device...

c272758f 12/24/2013 06:27 pm Markus Armbruster

qdev: Document that pointer properties kill device_add

Ask users of DEFINE_PROP_PTR() to set
cannot_instantiate_with_device_add_yet, or explain why it's not
needed.

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

0ab4c94c 12/24/2013 06:27 pm Peter Crosthwaite

qom: Split out object and class caches

The object-cast and class-cast caches cannot be shared because class
caching is conditional on the target type not being an interface and
object caching is unconditional. Leads to a bug when a class cast
to an interface follows an object cast to the same interface type:...

b061dc41 12/24/2013 06:27 pm Paolo Bonzini

qom: Do not register interface "types" in the type table and fix names

There should be no need to look up nor enumerate the interface "types",
whose "classes" are really just vtables. Just create the types and
add them to the interface list of the parent type....

14389dbd 12/24/2013 06:27 pm Igor Mammedov

tests: Test QOM interface casting

Add basic regression testing for QOM Interface usage.
Test checks casting to interface type/class for following cases:
- interface implementation in leaf class
- interface implementation in intermediate (parent) class...

061e84f7 12/24/2013 06:26 pm Markus Armbruster

qdev-monitor: Avoid device_add crashing on non-device driver name

Watch this:

$ upstream-qemu -nodefaults -S -display none -monitor stdio
QEMU 1.7.50 monitor - type 'help' for more information
(qemu) device_add rng-egd
/work/armbru/qemu/qdev-monitor.c:491:qdev_device_add: Object 0x2089b00 is not an instance of type device...

View all revisions | View revisions

Also available in: Atom