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

Eric Blake eblake at redhat.com
Tue Jun 2 14:24:33 UTC 2020


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




More information about the Libguestfs mailing list