def vcpus_realtime_topology(vcpus_set, flavor, image):
    mask = _get_realtime_mask(flavor, image)
    if not mask:
        raise exception.RealtimeMaskNotFoundOrInvalid()

    vcpus_spec = format_cpu_spec(vcpus_set)
    vcpus_rt = parse_cpu_spec(vcpus_spec + ", " + mask)
    vcpus_em = vcpus_set - vcpus_rt
    if len(vcpus_rt) < 1 or len(vcpus_em) < 1:
        raise exception.RealtimeMaskNotFoundOrInvalid()

    return vcpus_rt, vcpus_em
Force the reporter to consider every workunit to be logging for level Report.ERROR
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/hardware.py/vcpus_realtime_topology--crossover with--dataset/ETHPy150Open pantsbuild/pants/src/python/pants/reporting/quiet_reporter.py/QuietReporter.level_for_workunit