tests/device-introspection: Check that the qom-tree and qtree do not change
commitd0685212643faab85136b35788691d0bde00205c
authorThomas Huth <thuth@redhat.com>
Thu, 16 Aug 2018 11:35:56 +0000 (16 13:35 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 Aug 2018 16:46:25 +0000 (23 18:46 +0200)
treee7e924a0e58bc76ed635c634a1c4c353814c0cc2
parent1f4a0d81af8dfbe176ea20085fa894a94d28b125
tests/device-introspection: Check that the qom-tree and qtree do not change

Introspection should not change the qom-tree / qtree, so we should check
this in the device-introspect-test, too. This patch helped to find lots
of instrospection bugs during the QEMU v3.0 soft/hard-freeze period in the
last two months.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <1534419358-10932-7-git-send-email-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/device-introspect-test.c