Index: tools/ew.py
===================================================================
--- tools/ew.py	(revision db3c6795e784ae1634ae0880b340ff7c83f110ef)
+++ tools/ew.py	(revision e9c163920855901461396bd1009584b897c18dd0)
@@ -257,4 +257,7 @@
 	cmd = 'qemu-' + suffix
 
+	if cpus:
+        cmd += ' -smp cpus=' + cpus + ' '
+
 	cmdline = cmd
 	if 'qemu_path' in overrides.keys():
@@ -419,6 +422,7 @@
 def usage():
 	print("%s - emulator wrapper for running HelenOS\n" % os.path.basename(sys.argv[0]))
-	print("%s [-d] [-h] [-net e1k|rtl8139|ne2k|virtio-net] [-hdd ata|virtio-blk] [-nohdd] [-nokvm] [-nonet] [-nosnd] [-nousb] [-noxhci] [-notablet]\n" %
+	print("%s [$] [-d] [-h] [-net e1k|rtl8139|ne2k|virtio-net] [-hdd ata|virtio-blk] [-nohdd] [-nokvm] [-nonet] [-nosnd] [-nousb] [-noxhci] [-notablet]\n" %
 	    os.path.basename(sys.argv[0]))
+	print("$\t to run multiple($) cpus")
 	print("-d\tDry run: do not run the emulation, just print the command line.")
 	print("-h\tPrint the usage information and exit.")
@@ -442,4 +446,6 @@
 	expect_hdd = False
 	expect_qemu = False
+	global cpus
+    cpus = ''
 
 	for i in range(1, len(sys.argv)):
@@ -482,4 +488,6 @@
 			usage()
 			exit()
+		elif sys.argv[i].isdigit():
+            cpus = sys.argv[i]
 		elif sys.argv[i] == '-d':
 			overrides['dryrun'] = True
