]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Remove redundant DomainObjIsActive calls
authorCole Robinson <crobinso@redhat.com>
Fri, 15 Apr 2016 13:37:19 +0000 (09:37 -0400)
committerCole Robinson <crobinso@redhat.com>
Tue, 19 Apr 2016 15:53:28 +0000 (11:53 -0400)
commitb0a2ba24626cbfa02a77b58e09b83962b68fd6bd
tree0bd7f395cbe65dcaca8c088da2acb02a1f3da37a
parent27f2b74782e15c528079c8a93e5ccf216fe7b22c
qemu: Remove redundant DomainObjIsActive calls

The common idiom in the driver API implementations is roughly:

- ACL check
- BeginJob (if needed)
- AgentAvailable (if needed)
- !IsActive

A few calls had an extra !IsActive before BeginJob, which doesn't
seem to serve much use. Drop them
src/qemu/qemu_driver.c