memdev: remove "id" property
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 30 Apr 2018 09:48:18 +0000 (11:48 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 8 May 2018 22:13:37 +0000 (00:13 +0200)
commit29de4ec164ba2ceac4983ffd08491ea98ca8f8af
tree7acc1a3db8d3feb22a3e7ebe910f34e22027ae5a
parent770dec2627b085457280490ac0543def97396fef
memdev: remove "id" property

The "id" property is unnecessary and can be replaced simply with
object_get_canonical_path_component.  This patch mostly undoes commit
e1ff3c67e8 ("monitor: fix qmp/hmp query-memdev not reporting IDs of
memory backends", 2017-01-12).

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
backends/hostmem.c
include/sysemu/hostmem.h
numa.c
qom/object_interfaces.c