[libvirt RFCv9 18/31] qemu: migration_params: add APIs to set Int and Cap