Re: [PATCH 2/3] qemu: Check for drop-cache capability

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/13/19 11:08 AM, Jiri Denemark wrote:
> QEMU 4.0.0 and newer automatically drops caches at the end of migration.
> Let's check for this capability so that we can allow migration when disk
> cache is turned on.
> 
> Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
> ---
>  src/qemu/qemu_capabilities.c                      | 2 ++

> +++ b/src/qemu/qemu_capabilities.h
> @@ -517,6 +517,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for syntax-check */
>  
>      /* 335 */
>      QEMU_CAPS_DEVICE_BOCHS_DISPLAY, /* -device bochs-display */
> +    QEMU_CAPS_MIGRATION_FILE_DROP_CACHE, /* migration with disk cache on is safe for typ='file' disks */

s/typ/type/
long line, is that a problem?

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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux