[libvirt] [PATCH v3 4/4] conf: validate video resolution