[PATCH] conf: Run virDomainInputDefPostParse() only for VIR_DOMAIN_DEVICE_INPUT

Ján Tomko jtomko at redhat.com
Fri May 26 14:19:12 UTC 2023


On a Friday in 2023, Michal Privoznik wrote:
>Due to missed break; statement the virDomainInputDefPostParse()
>is called not only for VIR_DOMAIN_DEVICE_INPUT but also
>VIR_DOMAIN_DEVICE_LEASE and VIR_DOMAIN_DEVICE_NET, which can lead
>to all sort of unpredictable results.
>
>Fixes: c4bc4d3b82fbe22e03c986ca896090f481df5c10
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
> src/conf/domain_postparse.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20230526/6ddbb7ae/attachment-0001.sig>


More information about the libvir-list mailing list