[PATCH 01/20] qemu: migration_cookie: Extract parsing/validation of mandatory features