]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Check all watchdogs for iTCO duplicates
authorMartin Kletzander <mkletzan@redhat.com>
Wed, 19 Apr 2023 12:19:16 +0000 (14:19 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Thu, 20 Apr 2023 08:17:35 +0000 (10:17 +0200)
commitd56ddd0d19e34a8c0a7293473d8d4906e2590cd1
tree92f0fa5f2c549fa46cddd8e3667e5762aab93569
parent2669b442f9c3cb65bfcbd24f04130e6f9eaeebfc
qemu: Check all watchdogs for iTCO duplicates

The loop initially skipped the first one because it was mainly checking
the incompatible actions, but was then modified to also check the
duplicity of iTCO watchdogs.

While at it change the type of the iteration variable to the usual size_t.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2187133
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_validate.c