diff options
author | Paolo Bonzini | 2019-03-18 13:48:23 +0100 |
---|---|---|
committer | Paolo Bonzini | 2019-06-03 14:03:02 +0200 |
commit | c0825c63cfae0d4af1f1f91867c42e609f3ed13c (patch) | |
tree | db8d1f421d002e0490db979aee276c320a0c3a64 /tests/test-bdrv-graph-mod.c | |
parent | libqos: split I2CAdapter initialization and allocation (diff) | |
download | qemu-c0825c63cfae0d4af1f1f91867c42e609f3ed13c.tar.gz qemu-c0825c63cfae0d4af1f1f91867c42e609f3ed13c.tar.xz qemu-c0825c63cfae0d4af1f1f91867c42e609f3ed13c.zip |
libqos: convert I2C to qgraph
Create an i2c-bus interface, corresponding to the I2CAdapter struct.
Wrap IMXI2C and OMAPI2C with a QOSGraphObject, and add the get_driver
function to retrieve the I2CAdapter.
The conversion is still not complete; for simplicity, i2c_recv and
i2c_send (along with their wrappers) still take an adapter/address
pair. Fixing that would be complicated until the tests are converted
to qgraph, so it is left for after the conversion.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/test-bdrv-graph-mod.c')
0 files changed, 0 insertions, 0 deletions