Changeset 868d75c in mainline


Ignore:
Timestamp:
2018-07-15T07:27:49Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0b5d37a
Parents:
710c1e9
Message:

Do not combine -nographic and -serial stdio at the

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/ew.py

    r710c1e9 r868d75c  
    214214                cmdline += qemu_audio_options()
    215215
     216        console = ('console' in cfg.keys() and cfg['console'])
     217
    216218        if (is_override('nographic')):
    217219                cmdline += ' -nographic'
    218220
    219         if ((not is_override('nographic')) and not is_override('noserial')):
     221        if (not console and (not is_override('nographic')) and not is_override('noserial')):
    220222                cmdline += ' -serial stdio'
    221223
     
    230232                cmdline += ' ' + cfg['image']
    231233
    232         if ('console' in cfg.keys()) and not cfg['console']:
     234        if console:
    233235                cmdline += ' -nographic'
    234236
     
    285287                        'run' : qemu_run,
    286288                        'image' : 'image.boot',
    287                         'console' : False
     289                        'console' : True
    288290                },
    289291                'bmalta' : {
    290292                        'run' : qemu_run,
    291293                        'image' : 'image.boot',
    292                         'console' : False
     294                        'console' : True
    293295                },
    294296        },
     
    308310                                'image' : 'image.iso',
    309311                                'audio' : False,
    310                                 'console' : False,
     312                                'console' : True,
    311313                                'net' : False,
    312314                                'usb' : False,
     
    318320                                'image' : '-drive if=pflash,readonly=on,file=image.iso',
    319321                                'audio' : False,
    320                                 'console' : False,
     322                                'console' : True,
    321323                                'net' : False,
    322324                                'usb' : False,
Note: See TracChangeset for help on using the changeset viewer.