Statistics
| Branch: | Revision:

root / qom @ feature-archipelago

Name Size
Makefile.objs 108 Bytes
container.c 1.1 kB
cpu.c 7 kB
object.c 35.3 kB
object_interfaces.c 694 Bytes
qom-qobject.c 1.2 kB

Latest revisions

# Date Author Comment
0b7593e0 02/14/2014 10:12 pm Paolo Bonzini

qapi: Add human mode to StringOutputVisitor

This will be used by "info qtree". For numbers it prints both the
decimal and hex values. For sizes it rounds to the nearest power
of 2^10. For strings, it puts quotes around the string and separates
NULL and empty string....

269e09f3 01/28/2014 07:47 pm Igor Mammedov

add optional 2nd stage initialization to -object/object-add commands

Introduces USER_CREATABLE interface that must be implemented by
objects which are designed to created with -object CLI option or
object-add QMP command.

Interface provides an ability to do an optional second stage...

133fe774 01/14/2014 04:10 am Edgar E. Iglesias

Merge remote branch 'luiz/queue/qmp' into qmpq

  • luiz/queue/qmp:
    migration: qmp_migrate(): keep working after syntax error
    qerror: Remove assert_no_error()
    qemu-option: Remove qemu_opts_create_nofail
    target-i386: Remove assert_no_error usage
    hw: Remove assert_no_error usages...
b0ed5e9f 01/06/2014 08:45 pm Paolo Bonzini

qom: catch errors in object_property_add_child

Signed-off-by: Paolo Bonzini <>
Reviewed-by: Igor Mammedov <>
Tested-by: Igor Mammedov <>
Signed-off-by: Luiz Capitulino <>

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

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

efec3dd6 12/23/2013 01:27 am Markus Armbruster

qdev: Replace no_user by cannot_instantiate_with_device_add_yet

In an ideal world, machines can be built by wiring devices together
with configuration, not code. Unfortunately, that's not the world we
live in right now. We still have quite a few devices that need to be...

ffa95714 12/23/2013 01:27 am Markus Armbruster

cpu: Document why cannot_instantiate_with_device_add_yet

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

2d3aa28c 11/19/2013 11:58 am Vlad Yasevich

qom: Fix memory leak in object_property_set_link()

Save the result of the call to object_get_canonical_path()
so we can free it.

Cc:
Signed-off-by: Vlad Yasevich <>
Reviewed-by: Amos Kong <>
Reviewed-by: Stefan Hajnoczi <>...

View revisions

Also available in: Atom