[libvirt] [PATCH v2 10/12] migration: refactor: prepare to reuse flag vs feature checks