summary refs log tree commit diff stats
path: root/tests/machine-none-test.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-03-18 13:48:23 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2019-06-03 14:03:02 +0200
commitc0825c63cfae0d4af1f1f91867c42e609f3ed13c (patch)
treedb8d1f421d002e0490db979aee276c320a0c3a64 /tests/machine-none-test.c
parent732c919cf04c0aaf1b092238e8b84cdb7adf657a (diff)
downloadfocaccia-qemu-c0825c63cfae0d4af1f1f91867c42e609f3ed13c.tar.gz
focaccia-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/machine-none-test.c')
0 files changed, 0 insertions, 0 deletions