Re: [PATCH RFC v2 09/10] vdpa_sim_blk: implement ramdisk behaviour

2021-02-02 Thread Stefan Hajnoczi
On Thu, Jan 28, 2021 at 03:41:26PM +0100, Stefano Garzarella wrote: > The previous implementation wrote only the status of each request. > This patch implements a more accurate block device simulator, > providing a ramdisk-like behavior. > > Signed-off-by: Stefano Garzarella > --- > v2: > - used

Re: [PATCH RFC v2 09/10] vdpa_sim_blk: implement ramdisk behaviour

2021-01-31 Thread Jason Wang
On 2021/1/28 下午10:41, Stefano Garzarella wrote: The previous implementation wrote only the status of each request. This patch implements a more accurate block device simulator, providing a ramdisk-like behavior. Signed-off-by: Stefano Garzarella --- v2: - used %zd %zx to print size_t and

[PATCH RFC v2 09/10] vdpa_sim_blk: implement ramdisk behaviour

2021-01-28 Thread Stefano Garzarella
The previous implementation wrote only the status of each request. This patch implements a more accurate block device simulator, providing a ramdisk-like behavior. Signed-off-by: Stefano Garzarella --- v2: - used %zd %zx to print size_t and ssize_t variables in dev_err() - removed unnecessary