Re: [PATCH v2 0/2] virtio-i2c: Fix buffer handling

2021-11-24 Thread Viresh Kumar
On 25-11-21, 07:24, Wolfram Sang wrote: > > > Wolfram, you can apply that one as well, it looks okay. > > Is it? I read that the code only waits for the last request while > Michael suggested to wait for all of them? And he did not ack patch 2 > while he acked patch 1. Did I misunderstand? Okay,

Re: [PATCH v2 0/2] virtio-i2c: Fix buffer handling

2021-11-24 Thread Viresh Kumar
On 24-11-21, 18:55, Michael S. Tsirkin wrote: > On Thu, Nov 11, 2021 at 05:04:10PM +0100, Vincent Whitchurch wrote: > > This fixes a couple of bugs in the buffer handling in virtio-i2c which can > > result in incorrect data on the I2C bus or memory corruption in the guest. > > > > I tested this on

Re: [PATCH v2 0/2] virtio-i2c: Fix buffer handling

2021-11-24 Thread Michael S. Tsirkin
On Thu, Nov 11, 2021 at 05:04:10PM +0100, Vincent Whitchurch wrote: > This fixes a couple of bugs in the buffer handling in virtio-i2c which can > result in incorrect data on the I2C bus or memory corruption in the guest. > > I tested this on UML (virtio-uml needs a bug fix too, I will sent that o

[PATCH v2 0/2] virtio-i2c: Fix buffer handling

2021-11-11 Thread Vincent Whitchurch
This fixes a couple of bugs in the buffer handling in virtio-i2c which can result in incorrect data on the I2C bus or memory corruption in the guest. I tested this on UML (virtio-uml needs a bug fix too, I will sent that out later) with the device implementation in rust-vmm/vhost-device. Changes