Changeset e3da6ac in mainline
- Timestamp:
- 2022-04-28T05:03:05Z (3 weeks ago)
- Parents:
- fd05ea6 (diff), e9c1639 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Parth Patel <parth1020patel@…> (2022-04-28 05:03:05)
- git-committer:
- GitHub <noreply@…> (2022-04-28 05:03:05)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/ew.py
rfd05ea6 re3da6ac 264 264 cmd = 'qemu-' + suffix 265 265 266 if cpus: 267 cmd += ' -smp cpus=' + cpus + ' ' 268 266 269 cmdline = cmd 267 270 if 'qemu_path' in overrides.keys(): … … 440 443 def usage(): 441 444 print("%s - emulator wrapper for running HelenOS\n" % os.path.basename(sys.argv[0])) 442 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" % 443 446 os.path.basename(sys.argv[0])) 447 print("$\t to run multiple($) cpus") 444 448 print("-d\tDry run: do not run the emulation, just print the command line.") 445 449 print("-h\tPrint the usage information and exit.") … … 463 467 expect_hdd = False 464 468 expect_qemu = False 469 global cpus 470 cpus = '' 465 471 466 472 for i in range(1, len(sys.argv)): … … 503 509 usage() 504 510 exit() 511 elif sys.argv[i].isdigit(): 512 cpus = sys.argv[i] 505 513 elif sys.argv[i] == '-d': 506 514 overrides['dryrun'] = True
Note: See TracChangeset
for help on using the changeset viewer.