]> git.proxmox.com Git - qemu.git/commit
qom: do not return root for empty path
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 Apr 2013 16:44:02 +0000 (18:44 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 29 Apr 2013 17:16:37 +0000 (12:16 -0500)
commit2e1103f60a871923ecd390804aba07b6031e0dc0
treeedd182904cdbad50031424c22ed81496046f7488
parent98af93fde2e37b5b0c8cee9036e028fe6df6446c
qom: do not return root for empty path

An empty path will return the sole object of that type in the
QOM tree.  This is different from "/", which returns the root.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1366303444-24620-7-git-send-email-pbonzini@redhat.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qom/object.c