]> git.proxmox.com Git - qemu.git/commit - qom/object.c
qom: add pointer to int property helpers
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 22 Sep 2013 07:10:17 +0000 (10:10 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 14 Oct 2013 14:46:00 +0000 (17:46 +0300)
commite732ea638705da35445a42dee32691fbe813d3e0
tree0c28353ccd55404a1d056172411c36c74f629e99
parente82df24873970742778e4a960f059ba9f8b1b2a7
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 <pbonzini@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Tested-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
include/qom/object.h
qom/object.c