def get_host_configs(host):
    """
    Retrieve all jobs and their configurations from a host.

    Arguments:
    host - The Host to operate on.

    Returns:
    A dictionary of job configurations.  Each key will be a job name and the
    value will be the job's configuration as an XML string.
    """
    job_configs = {}
    for name, job in host.list_jobs():
        job_configs[name] = job.get_config()
    return job_configs
