[libvirt] [PATCH v1 09/31] qemuDomainDeviceDefValidateDisk: Reorder some checks

Peter Krempa pkrempa at redhat.com
Tue Jul 16 12:18:07 UTC 2019


On Thu, Jul 11, 2019 at 17:53:56 +0200, Michal Privoznik wrote:
> I find this function more readable if checks for passed storage
> source are done first and backing chain is done last. Mixing them
> together does not hurt, but is less readable.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/qemu/qemu_domain.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190716/013e7734/attachment-0001.sig>


More information about the libvir-list mailing list