Re: [PATCH v4 02/20] libqos: Rename i2c_send and i2c_recv

2019-11-06 Thread Stefan Hajnoczi
On Wed, Oct 30, 2019 at 02:49:49PM +, Oleinik, Alexander wrote: > diff --git a/tests/libqos/i2c-imx.c b/tests/libqos/i2c-imx.c > index f33ece55a3..42ebf8ba3a 100644 > --- a/tests/libqos/i2c-imx.c > +++ b/tests/libqos/i2c-imx.c > @@ -37,7 +37,7 @@ static void imx_i2c_set_slave_addr(IMXI2C *s, ui

[PATCH v4 02/20] libqos: Rename i2c_send and i2c_recv

2019-10-30 Thread Oleinik, Alexander
From: Alexander Oleinik The names i2c_send and i2c_recv collide with functions defined in hw/i2c/core.c. This causes an error when linking against libqos and softmmu simultaneously (for example when using qtest inproc). Rename the libqos functions to avoid this. Signed-off-by: Alexander Oleinik