Add helper functions for adding read-only properties, that work in the case where the value is in memory.
Michael S. Tsirkin (4): qemu: add Error to typedefs qom: pull in qemu/typedefs qom: cleanup struct Error references qom: add pointer to int property helpers include/qemu/typedefs.h | 1 + include/qom/object.h | 73 +++++++++++++++++++++++++++++++------------------ qom/object.c | 56 +++++++++++++++++++++++++++++++++++++ 3 files changed, 104 insertions(+), 26 deletions(-) -- MST