]> git.proxmox.com Git - qemu.git/commit
qom: Make object_resolve_path_component() path argument const
authorAndreas Färber <afaerber@suse.de>
Tue, 15 Jan 2013 01:55:10 +0000 (02:55 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 15 Jan 2013 09:54:23 +0000 (10:54 +0100)
commit3e84b4832180db2aa6187b6b971054bc3ca68be0
tree09f4fd58a3378ce5b2128c96076dc6eb4a680afb
parenta87eec766d99c33fc49ecc6dbce40f304168ac3f
qom: Make object_resolve_path_component() path argument const

A usage with a hardcoded partial path such as

  object_resolve_path_component(obj, "foo")

is totally valid but currently leads to a compilation error. Fix this.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
include/qom/object.h
qom/object.c