[PATCH 2/2] qemu: Add testing for locking option

Peter Krempa pkrempa at redhat.com
Sat Jan 23 10:13:13 UTC 2021


On Fri, Jan 22, 2021 at 21:32:06 -0500, Masayoshi Mizuma wrote:
> From: Masayoshi Mizuma <m.mizuma at jp.fujitsu.com>
> 
> Add testing for locking option for qemu disk source.
> Test three switches for locking: 'auto', 'on' and 'off'.
> 
> Signed-off-by: Masayoshi Mizuma <m.mizuma at jp.fujitsu.com>
> ---
>  .../disk-file-locking-auto.x86_64-latest.args | 43 +++++++++++++++++++
>  .../disk-file-locking-auto.xml                | 27 ++++++++++++
>  .../disk-file-locking-off.x86_64-latest.args  | 43 +++++++++++++++++++
>  .../disk-file-locking-off.xml                 | 27 ++++++++++++
>  .../disk-file-locking-on.x86_64-latest.args   | 43 +++++++++++++++++++
>  .../qemuxml2argvdata/disk-file-locking-on.xml | 27 ++++++++++++

You can add multiple disks with distinct locking parameters into a
single file rather than having 3 separate files.

Additionally the tests are missing the control of 'locking' for
<backingStore>




More information about the libvir-list mailing list