]> git.ipfire.org Git - thirdparty/libvirt.git/commit
openvz: Drop useless domain lookup
authorMichal Privoznik <mprivozn@redhat.com>
Sat, 25 Apr 2015 08:06:29 +0000 (10:06 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 27 Apr 2015 09:26:37 +0000 (11:26 +0200)
commit4803c855bbe38bde422bbf13dd47b8969418f6ab
tree2ebe20db8d8d8757cad2ba80c4a5c956264d492f
parent6957a606a5fca0636a7fa19fe4d402d215fc7265
openvz: Drop useless domain lookup

The lookup is just for check whether a domain we are about to add does
not already exists. Well, the virDomainObjListAdd() function does that
for us already so there's no need to duplicate the check.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/openvz/openvz_driver.c