diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2019-03-18 15:06:50 +0100 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-06-03 14:03:02 +0200 |
| commit | 06599472ec40efef3de7cb2bc98d61e8d4b18a63 (patch) | |
| tree | 284d2baa0ab63e29a7c0e70adca2d80602a7e16e /tests/test-block-backend.c | |
| parent | 8130dbcbcda15b3fe5ae1da76bf48868c4ce90fb (diff) | |
| download | focaccia-qemu-06599472ec40efef3de7cb2bc98d61e8d4b18a63.tar.gz focaccia-qemu-06599472ec40efef3de7cb2bc98d61e8d4b18a63.zip | |
libqos: i2c: move address into QI2CDevice
This removes the hardcoded I2C address from the tests. The address is passed via QOSGraphEdgeOptions to i2c_device_create and stored in the QI2CDevice. The i2c_send and i2c_recv functions, along with their wrappers, therefore, can be changed to take a QI2CDevice rather than an adapter/address pair. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/test-block-backend.c')
0 files changed, 0 insertions, 0 deletions