[PATCHv2] ch_domain: Add handler for virDomainDeviceDefValidateCallback