Changes in / [ab38ee0:48cc66f] in mainline
- File:
-
- 1 edited
-
tools/ew.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tools/ew.py
rab38ee0 r48cc66f 268 268 suffix, options = platform_to_qemu_options(platform, machine, processor) 269 269 cmd = 'qemu-' + suffix 270 271 if cpus:272 cmd += ' -smp cpus=' + cpus + ' '273 270 274 271 cmdline = cmd … … 451 448 def usage(): 452 449 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" % 454 451 os.path.basename(sys.argv[0])) 455 print("$\t to run multiple($) cpus")456 452 print("-d\tDry run: do not run the emulation, just print the command line.") 457 453 print("-h\tPrint the usage information and exit.") … … 475 471 expect_hdd = False 476 472 expect_qemu = False 477 global cpus478 cpus = ''479 473 480 474 for i in range(1, len(sys.argv)): … … 517 511 usage() 518 512 exit() 519 elif sys.argv[i].isdigit():520 cpus = sys.argv[i]521 513 elif sys.argv[i] == '-d': 522 514 overrides['dryrun'] = True
Note:
See TracChangeset
for help on using the changeset viewer.
