]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Check/ignore already disabled event
authorJohn Ferlan <jferlan@redhat.com>
Fri, 7 Oct 2016 12:28:58 +0000 (08:28 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 7 Oct 2016 17:27:21 +0000 (13:27 -0400)
commit0f3f8ac97efed4a5c574e6b51e356cea2f825fcf
tree71f98b20a4a6eac63683070185e3c4f48c93fb68
parent12b2aebebaf69c80178c253d0ddf92e93ce03cd7
util: Check/ignore already disabled event

If the event is already disabled, then don't bother with setting it
disabled again.  Causes unnecessary error on systems that don't support
the feature anyway.
src/util/virperf.c