]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix virDomainChrEquals for spicevmc
authorJán Tomko <jtomko@redhat.com>
Mon, 10 Nov 2014 15:40:49 +0000 (16:40 +0100)
committerJán Tomko <jtomko@redhat.com>
Tue, 11 Nov 2014 13:12:15 +0000 (14:12 +0100)
commitb987684ff63a20ab1301c48ca4842930be044f6d
treea82349fc0d5b7f897733b16074203e35b0b20bc6
parentc6e90248676126c209b3b6017ad27cf6c6a0ab8f
Fix virDomainChrEquals for spicevmc

virDomainChrSourceDefIsEqual should return 'true' for
identical SPICEVMC chardevs, and those that have no source
specification.

After this change, a failed hotplug no longer leaves a stale
pointer in the domain definition.

https://bugzilla.redhat.com/show_bug.cgi?id=1162097
src/conf/domain_conf.c