Statistics
| Branch: | Revision:

root / include / qom @ feature-archipelago

Name Size
cpu.h 15.3 kB
object.h 38.9 kB
object_interfaces.h 1.9 kB
qom-qobject.h 1.1 kB

Latest revisions

# Date Author Comment
b5ba1cc6 02/28/2014 06:49 pm qiaonuohan

dump: const-qualify the buf of WriteCoreDumpFunction

WriteCoreDumpFunction is a function pointer that points to the function used to
write content in "buf" into core file, so "buf" should be const-qualify.

Signed-off-by: Qiao Nuohan <>...

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

09daed84 02/11/2014 02:56 pm Edgar E. Iglesias

cpu: Add per-cpu address space

Reviewed-by: Peter Maydell <>
Signed-off-by: Edgar E. Iglesias <>

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

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

a25ebcac 11/05/2013 07:06 pm Michael S. Tsirkin

qom: Fix pointer to int property helpers' documentation

Relocate to alongside the other object_property_add_* helpers while at it.

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

e732ea63 10/14/2013 05:46 pm Michael S. Tsirkin

qom: add pointer to int property helpers

Make it easy to add read-only helpers for simple
integer properties in memory.

Reviewed-by: Paolo Bonzini <>
Reviewed-by: Gerd Hoffmann <>
Tested-by: Gerd Hoffmann <>...

e82df248 10/14/2013 05:45 pm Michael S. Tsirkin

qom: cleanup struct Error references

now that a typedef for struct Error is available,
use it in qom/object.h to match coding style rules.

Reviewed-by: Paolo Bonzini <>
Reviewed-by: Gerd Hoffmann <>
Tested-by: Gerd Hoffmann <>...

008e0566 10/14/2013 05:11 pm Igor Mammedov

cleanup object.h: include error.h directly

qapi/error.h is simple enough to be included in qom/object.h
direcly and prepares qom/object.h to use Error typedef.

Signed-off-by: Igor Mammedov <>
Signed-off-by: Michael S. Tsirkin <>

View revisions

Also available in: Atom