On Mon, 12 Feb 2024 at 16:01, Harshit Aghera <hagh...@nvidia.com> wrote: > > We have a Linux image targeted for architecture Cortex A7, that we are > running inside QEMU on x86 machine. > > > > Our Linux image has I2C slave with EEPROM backend, instantiated from > user-space. Reference - Linux I2C slave EEPROM backend — The Linux Kernel > documentation. > > Commands used from user-space to instantiate these I2C slaves – > > echo slave-24c512ro 0x1054 > /sys/bus/i2c/devices/i2c-0/new_device > > echo slave-24c02 0x1054 > /sys/bus/i2c/devices/i2c-1/new_device > > > > Is there a way to send I2C messages to these I2C buses (bus 0 and bus 1) on > the Guest OS, as a I2C Master from the Host OS? > > Is there a way to send I2C messages to these I2C buses from a separate QEMU > Instance’s Guest OS acting as a I2C Master?
No; our i2c bus framework does not currently support either of those things. thanks -- PMM