Changes in / [ab38ee0:48cc66f] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/ew.py

    rab38ee0 r48cc66f  
    268268        suffix, options = platform_to_qemu_options(platform, machine, processor)
    269269        cmd = 'qemu-' + suffix
    270 
    271         if cpus:
    272         cmd += ' -smp cpus=' + cpus + ' '
    273270
    274271        cmdline = cmd
     
    451448def usage():
    452449        print("%s - emulator wrapper for running HelenOS\n" % os.path.basename(sys.argv[0]))
    453         print("%s [$] [-d] [-h] [-net e1k|rtl8139|ne2k|virtio-net] [-hdd ata|virtio-blk] [-nohdd] [-nokvm] [-nonet] [-nosnd] [-nousb] [-noxhci] [-notablet]\n" %
     450        print("%s [-d] [-h] [-net e1k|rtl8139|ne2k|virtio-net] [-hdd ata|virtio-blk] [-nohdd] [-nokvm] [-nonet] [-nosnd] [-nousb] [-noxhci] [-notablet]\n" %
    454451            os.path.basename(sys.argv[0]))
    455         print("$\t to run multiple($) cpus")
    456452        print("-d\tDry run: do not run the emulation, just print the command line.")
    457453        print("-h\tPrint the usage information and exit.")
     
    475471        expect_hdd = False
    476472        expect_qemu = False
    477         global cpus
    478     cpus = ''
    479473
    480474        for i in range(1, len(sys.argv)):
     
    517511                        usage()
    518512                        exit()
    519                 elif sys.argv[i].isdigit():
    520             cpus = sys.argv[i]
    521513                elif sys.argv[i] == '-d':
    522514                        overrides['dryrun'] = True
Note: See TracChangeset for help on using the changeset viewer.