Changeset eede1c5 in mainline
- Timestamp:
- 2026-03-13T06:43:12Z (5 days ago)
- Parents:
- b979ffb (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@…> (2026-03-13 06:43:12)
- git-committer:
- GitHub <noreply@…> (2026-03-13 06:43:12)
- File:
-
- 1 edited
-
tools/ew.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tools/ew.py
rb979ffb reede1c5 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 + ' ' 270 273 271 274 cmdline = cmd … … 448 451 def usage(): 449 452 print("%s - emulator wrapper for running HelenOS\n" % os.path.basename(sys.argv[0])) 450 print("%s [ -d] [-h] [-net e1k|rtl8139|ne2k|virtio-net] [-hdd ata|virtio-blk] [-nohdd] [-nokvm] [-nonet] [-nosnd] [-nousb] [-noxhci] [-notablet]\n" %453 print("%s [$] [-d] [-h] [-net e1k|rtl8139|ne2k|virtio-net] [-hdd ata|virtio-blk] [-nohdd] [-nokvm] [-nonet] [-nosnd] [-nousb] [-noxhci] [-notablet]\n" % 451 454 os.path.basename(sys.argv[0])) 455 print("$\t to run multiple($) cpus") 452 456 print("-d\tDry run: do not run the emulation, just print the command line.") 453 457 print("-h\tPrint the usage information and exit.") … … 471 475 expect_hdd = False 472 476 expect_qemu = False 477 global cpus 478 cpus = '' 473 479 474 480 for i in range(1, len(sys.argv)): … … 511 517 usage() 512 518 exit() 519 elif sys.argv[i].isdigit(): 520 cpus = sys.argv[i] 513 521 elif sys.argv[i] == '-d': 514 522 overrides['dryrun'] = True
Note:
See TracChangeset
for help on using the changeset viewer.
