]> xenbits.xensource.com Git - libvirt.git/commit
systemd: don't report an error if the guest is already terminated
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 16 Jan 2015 11:26:39 +0000 (11:26 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 27 Jan 2015 13:57:02 +0000 (13:57 +0000)
commitb3e4401dc6203b16f4fb2c123a6f033f1747f448
treeadd727ddeeab890961594c3661011f8bbe19d763
parentf7afeddce96cb922904947ed679d3977517b0c7d
systemd: don't report an error if the guest is already terminated

In many cases where we invoke virSystemdTerminateMachine the
process(es) will have already gone away on their own accord.
In these cases we log an error message that the machine does
not exist. We should catch this particular error and simply
ignore it, so we don't pollute the logs.
src/util/virsystemd.c