]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Check for duplicate authdef during hostdev iSCSI processing
authorJohn Ferlan <jferlan@redhat.com>
Tue, 12 Feb 2019 13:35:38 +0000 (08:35 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 12 Feb 2019 18:11:41 +0000 (13:11 -0500)
commit466a3e5dfac24e4cd5966e12047517494d4ffa5d
treef03d0ab6e6158e9f38ef753d175d08c0bbf615fa
parentbc096fc4a2942055dd3cbad26165b1c048d90e04
conf: Check for duplicate authdef during hostdev iSCSI processing

If virDomainHostdevSubsysSCSIiSCSIDefParseXML processing finds a
duplicated <auth> structure, we should error out rather than continue.

Signed-off-by: John Ferlan <jferlan@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/domain_conf.c