blockcopy preserve original cache mode value

Jiatong Shen yshxxsjt715 at gmail.com
Wed Nov 16 01:17:43 UTC 2022


Hello Community,

   We are observing that after a blockcopy, the disk backend will inherit
from original disk's cache mode configuration even though a new cache mode
is given. Specifically, the function
https://github.com/libvirt/libvirt/blob/cd94d891fb4b5cdda229f58b1dee261d5514082b/src/qemu/qemu_domain.c#L10887
which eventually calls  qemuDomainPrepareDiskSourceData and override input
config.
My question is is this on purpose? Because seems like qemu allows different
configs.
Thnak you very much for the help.

-- 

Best Regards,

Jiatong Shen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20221116/ba6ec0c0/attachment.htm>


More information about the libvirt-users mailing list