Changes in / [8fa655b9:32254d6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/ew.py
r8fa655b9 r32254d6 263 263 suffix, options = platform_to_qemu_options(platform, machine, processor) 264 264 cmd = 'qemu-' + suffix 265 266 if cpus:267 cmd += ' -smp cpus=' + cpus + ' '268 265 269 266 cmdline = cmd … … 446 443 def usage(): 447 444 print("%s - emulator wrapper for running HelenOS\n" % os.path.basename(sys.argv[0])) 448 print("%s [ $] [-d] [-h] [-net e1k|rtl8139|ne2k|virtio-net] [-hdd ata|virtio-blk] [-nohdd] [-nokvm] [-nonet] [-nosnd] [-nousb] [-noxhci] [-notablet]\n" %445 print("%s [-d] [-h] [-net e1k|rtl8139|ne2k|virtio-net] [-hdd ata|virtio-blk] [-nohdd] [-nokvm] [-nonet] [-nosnd] [-nousb] [-noxhci] [-notablet]\n" % 449 446 os.path.basename(sys.argv[0])) 450 print("$\t to run multiple($) cpus")451 447 print("-d\tDry run: do not run the emulation, just print the command line.") 452 448 print("-h\tPrint the usage information and exit.") … … 470 466 expect_hdd = False 471 467 expect_qemu = False 472 global cpus473 cpus = ''474 468 475 469 for i in range(1, len(sys.argv)): … … 512 506 usage() 513 507 exit() 514 elif sys.argv[i].isdigit():515 cpus = sys.argv[i]516 508 elif sys.argv[i] == '-d': 517 509 overrides['dryrun'] = True
Note:
See TracChangeset
for help on using the changeset viewer.