diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-08-28 16:00:19 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2020-01-06 18:41:32 +0400 |
commit | 107b59698f79b323c4d111c46eb9e3db6f9d258b (patch) | |
tree | 45152d37afb55b46ad20bcdfc1ee792dae7438e5 /tests | |
parent | b0b74e1f17508cb8cef8afd698558db1bd8999cc (diff) |
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: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Makefile.include | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Makefile.include b/tests/Makefile.include index 9146e1bdee..9301b226b7 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -579,6 +579,7 @@ tests/test-qdev-global-props$(EXESUF): tests/test-qdev-global-props.o \ hw/core/irq.o \ hw/core/fw-path-provider.o \ hw/core/reset.o \ + hw/core/vmstate-if.o \ $(test-qapi-obj-y) tests/test-vmstate$(EXESUF): tests/test-vmstate.o \ migration/vmstate.o migration/vmstate-types.o migration/qemu-file.o \ |