diff options
author | Peter Xu | 2018-03-09 09:59:47 +0100 |
---|---|---|
committer | Eric Blake | 2018-03-19 20:58:36 +0100 |
commit | aafb21a0b9cea5fa0fe52e68111bb6bd13837a02 (patch) | |
tree | 4b748eb0792d0f7b2609bce4fa50dcd1e0dba21a /monitor.c | |
parent | qobject: introduce qobject_get_try_str() (diff) | |
download | qemu-aafb21a0b9cea5fa0fe52e68111bb6bd13837a02.tar.gz qemu-aafb21a0b9cea5fa0fe52e68111bb6bd13837a02.tar.xz qemu-aafb21a0b9cea5fa0fe52e68111bb6bd13837a02.zip |
qobject: let object_property_get_str() use new API
We can simplify object_property_get_str() using the new
qobject_get_try_str().
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-Id: <20180309090006.10018-5-peterx@redhat.com>
[eblake: rebase context of qobject_to() macro]
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'monitor.c')
0 files changed, 0 insertions, 0 deletions