[libvirt] [libvirt PATCH v2 29/44] Deprecate QEMU_CAPS_DRIVE_CACHE_UNSAFE

Andrea Bolognani abologna at redhat.com
Mon Apr 16 15:33:02 UTC 2018


On Mon, 2018-04-09 at 17:20 +0200, Ján Tomko wrote:
> diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c
> index 07f7630655..9534eb6fae 100644
> --- a/tests/qemuxml2argvtest.c
> +++ b/tests/qemuxml2argvtest.c
> @@ -954,8 +954,7 @@ mymain(void)
>      DO_TEST("disk-drive-cache-v2-wb", NONE);
>      DO_TEST("disk-drive-cache-v2-none", NONE);
>      DO_TEST("disk-drive-cache-directsync", NONE);
> -    DO_TEST("disk-drive-cache-unsafe",
> -            QEMU_CAPS_DRIVE_CACHE_UNSAFE);
> +    DO_TEST("disk-drive-cache-unsafe", NONE);
>      DO_TEST("disk-drive-copy-on-read",
>              QEMU_CAPS_DRIVE_COPY_ON_READ);
>      DO_TEST("disk-drive-network-nbd", NONE);

We don't seem to test cache=unsafe anywhere else, so this will
have to stay.

Reviewed-by: Andrea Bolognani <abologna at redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list