[virtio-dev] Re: [PATCH v4] Add virtio parameter server device specification

2021-10-04 Thread Hao Chen
Hi folks, Could anyone please help us figure out how to allocate the buffer when the size of the to-be-sent values are unknown? Thanks! Hao On Mon, Oct 4, 2021 at 11:25 AM Hao Chen wrote: > -- Forwarded message - > From: Hao Chen > Date: Wed, Sep 8, 2021 at 1:42 PM > Subject:

[virtio-dev] Re: [PATCH v4] Add virtio parameter server device specification

2021-09-08 Thread Hao Chen
Hi folks, I had some issues when trying to implement the sample driver for this device proposal. When the device wants to send some values to the driver, the size of the values may vary a lot, and the size may not be determined when the driver allocates buffers for them. The device knows more abou

[virtio-dev] Re: [PATCH v4] Add virtio parameter server device specification

2021-06-11 Thread Hao Chen
On Thu, Jun 10, 2021 at 4:19 PM Hao Chen wrote: > > This patch introduces a new type of device: parameter server. The device > acts as a key-value store and the driver can read from, write to or > subscribe to the properties in the server. > > Signed-off-by: Hao Chen > --- > conformance.tex | 2

[virtio-dev] Re: [PATCH v4] Add virtio parameter server device specification

2021-06-10 Thread Hao Chen
On Thu, Jun 10, 2021 at 4:19 PM Hao Chen wrote: > This patch introduces a new type of device: parameter server. The device > acts as a key-value store and the driver can read from, write to or > subscribe to the properties in the server. > > Signed-off-by: Hao Chen > --- > conformance.tex | 26