[libvirt PATCH] conf: device: compare drive address fields separately

Peter Krempa pkrempa at redhat.com
Tue Nov 16 14:02:44 UTC 2021


On Tue, Nov 16, 2021 at 14:52:06 +0100, Ján Tomko wrote:
> Commit 3210c8b04 introduced a separate field 'diskbus' for
> internal use by the commandline formatter.
> 
> Adjust the check for address equality to compare the relevant
> fields separately instead of the whole struct.
> 
> This means that the changes of the 'diskbus' field added
> in commit 03ed14d2d4 no longer affect the outcome of the address
> equality check.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=2023605
> 
> Fixes: 3210c8b047534f7e1d3ccde7ea3bcf11e7c92ad9
> Fixes: 03ed14d2d4a4e51568b1ee5a6e6c9c3371bb4d34
> Signed-off-by: Ján Tomko <jtomko at redhat.com>
> ---
>  src/conf/device_conf.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)

Reviewed-by: Peter Krempa <pkrempa at redhat.com>




More information about the libvir-list mailing list