migration: Add capabilities validation
commit6cafc8e4ddea32cb12346393f433e6cab346398c
authorYury Kotov <yury-kotov@yandex-team.ru>
Fri, 15 Feb 2019 17:45:48 +0000 (15 20:45 +0300)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Wed, 6 Mar 2019 10:49:17 +0000 (6 10:49 +0000)
tree54c4dda4466180ee9690b922b10c5f844c28dfad
parent660a9b681256b07261048c5e4a569eadadd5753b
migration: Add capabilities validation

Currently we don't check which capabilities set in the source QEMU.
We just expect that the target QEMU has the same enabled capabilities.

Add explicit validation for capabilities to make sure that the target VM
has them too. This is enabled for only new capabilities to keep compatibily.

Signed-off-by: Yury Kotov <yury-kotov@yandex-team.ru>
Message-Id: <20190215174548.2630-6-yury-kotov@yandex-team.ru>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
  dgilbert: Manual merge
migration/savevm.c