vmstate: add qom interface to get id
Add an interface to get the instance id, instead of depending on Device and qdev_get_dev_path(). Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com> Acked-by: NDr. David Alan Gilbert <dgilbert@redhat.com>
Showing
hw/core/vmstate-if.c
0 → 100644
include/hw/vmstate-if.h
0 → 100644
想要评论请 注册 或 登录