def METHOD_NAME(self):
    # collect all machine types except 'none', 'isapc', 'microvm'
    with QEMUMachine(self.qemu_bin) as vm:
        vm.launch()
        machines = [m['name'] for m in vm.command('query-machines')]
        vm.shutdown()
    machines.remove('none')
    machines.remove('isapc')
    machines.remove('microvm')
    for dev_type in DEV_TYPES:
        # create the list of machine types and their parameters.
        mtypes = list()
        for m in machines:
            if self.seg_max_adjust_enabled(m):
                enabled = 'true'
            else:
                enabled = 'false'
            mtypes.append({'name': m,
                           DEV_TYPES[dev_type]['seg_max_adjust']: enabled})
        # test each machine type for a device type
        for mt in mtypes:
            self.check_mt(mt, dev_type)