Re: [Libguestfs] [PATCH nbdkit 4/5] tests: Enhance dummy-vddk.

Eric Blake
2020-06-02T14:24:33Z

On 6/2/20 7:27 AM, Richard W.M. Jones wrote:
> Make it behave more or less like a real VDDK.  Of course it ignores
> all parameters passed and emulates a blank disk, but that is
> sufficient to do some more realistic testing.
> ---
>   plugins/vddk/vddk-stubs.h |   8 ---
>   tests/dummy-vddk.c        | 115 ++++++++++++++++++++++++++++++++++----
>   2 files changed, 103 insertions(+), 20 deletions(-)

I'm less familiar with the vddk API itself, but this looks reasonable
for improved test coverage.

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org