summaryrefslogtreecommitdiffstats
path: root/tests/test-bdrv-graph-mod.c
diff options
context:
space:
mode:
authorPaolo Bonzini2019-03-18 17:12:25 +0100
committerPaolo Bonzini2019-06-03 14:03:02 +0200
commit732c919cf04c0aaf1b092238e8b84cdb7adf657a (patch)
tree6b43291940e84e3c850e48d6987ca08c67c4d309 /tests/test-bdrv-graph-mod.c
parentimx25-pdk: create ds1338 for qtest inside the test (diff)
downloadqemu-732c919cf04c0aaf1b092238e8b84cdb7adf657a.tar.gz
qemu-732c919cf04c0aaf1b092238e8b84cdb7adf657a.tar.xz
qemu-732c919cf04c0aaf1b092238e8b84cdb7adf657a.zip
libqos: split I2CAdapter initialization and allocation
Provide *_init functions that populate an I2CAdapter struct without allocating one, and make the existing *_create functions wrap them. Because in the new setup *_create might return a pointer inside the IMXI2C or OMAPI2C struct, create companion *_free functions to go back to the outer pointer. All this is temporary until allocation will be handled entirely by qgraph. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/test-bdrv-graph-mod.c')
0 files changed, 0 insertions, 0 deletions