On Thu, Oct 27, 2022 at 09:55:19AM +0100, Richard W.M. Jones wrote:
On Wed, Oct 26, 2022 at 05:18:02PM -0500, Eric Blake wrote:
> Allow this filter to emulate qemu's behavior of a hard disconnect on
> write attempts larger than 32M.
> ---
> .../nbdkit-blocksize-policy-filter.pod | 21 ++++
> tests/Makefile.am | 12 +-
> filters/blocksize-policy/policy.c | 27 ++++-
> tests/test-blocksize-write-disconnect.sh | 107 ++++++++++++++++++
> 4 files changed, 164 insertions(+), 3 deletions(-)
> create mode 100755 tests/test-blocksize-write-disconnect.sh
>
Reviewed-by: Richard W.M. Jones <rjones(a)redhat.com>
nbdkit-sh-plugin patches to follow?
1-4 in as d6b0f314..6a7def7e, now working on nbdkit-sh-plugin patch.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization:
qemu.org |
libvirt.org