[PATCH] domain_conf: include checks against dom->os.type and dom->virtType