]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxlDoMigrateReceive: Drop useless check for !vm
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 3 Aug 2016 12:48:01 +0000 (14:48 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 4 Aug 2016 13:32:21 +0000 (15:32 +0200)
commitb3df357da60815081259bfe3ad2a5a2ed6a8b974
tree57f6289b12d4a4b7b963e33e936ab02af34be38c
parent7584d992b8425fdf743f43e1e381df659fb4f11e
libxlDoMigrateReceive: Drop useless check for !vm

In the cleanup path, @vm cannot be possibly NULL. If it were so,
we would receive SIGSEGV much earlier. At the beginning of the
function we do libxlDomainObjBeginJob(.., vm, ..); and so on.

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