Re: [PATCH 0/1] hw: m25p80: fix aspeed_smc tests failure when run in isolation

2022-06-19 Thread Cédric Le Goater
On 6/18/22 01:07, Iris Chen wrote: Hey everyone, I discovered that some of the tests in tests/qtest/aspeed_smc-test.c were failing when run in isolation due to dependencies between the tests. For example, one test would test the reading of a block of memory written in the test before it. I thin

[RFC v1] Add support for zoned device

2022-06-19 Thread Sam Li
This patch series adds support for zoned device to virtio-blk emulation. Zoned storage can support sequential writes, which reduces write amplification in SSD, leading to higher write throughput and increased capacity. v1: - add block layer APIs resembling Linux ZoneBlockDevice ioctls. By adding

[RFC v2] Adding block layer APIs resembling Linux ZoneBlockDevice ioctls.

2022-06-19 Thread Sam Li
Fix some mistakes before. It can report a range of zones now. Signed-off-by: Sam Li --- block/block-backend.c | 22 block/coroutines.h| 5 + block/file-posix.c| 182 ++ block/io.c| 23 i