[PATCH 2/2] virDomainInputDefValidate: Validate model