QEMU is called with the following commands on host systems with x86 processor architecture.  The parameter Disk_image refers to the image of the first IDE hard disk (disk 0).
x86 architecture (32-bit):
Host ~ $ qemu-system-i386 [options] [disk_image]
x86 architecture (64 bit):
Host ~ $ qemu-system-x86_64 [options] [disk_image]
QEMU was called with 'qemu' before version 1.0.
Host ~ $ qemu [options] [disk_image]
The kernel-based virtual machine is often called with kvm instead of qemu. This is confusing, because the Native Linux KVM Tool is also invoked like that as well.  Some distributions call with qemu-system-x86_64 or qemu-kvm.
-h shows the help
Writes the log file to stderr. The following options are passed with commas to the command like : qemu -d int,cpu use -d help to get a full list.
Show generated host assembly code for each compiled Translation-Block (TB)
Show input assembly code for each compiled TB
Shows micro operations for each compiled TB
show micro ops after optimization
Show micro ops before indirect lowering
Show interrupts/exceptions in short format
Show trace before each executed TB (lots of logs)
Show CPU registers before entering a TB (lots of logs)
Log MMU-related activities
x86 only: show protected mode far calls/returns/exceptions
show CPU state before CPU resets
Log unimplemented functionality
Log when the guest OS does something invalid (eg accessing a non-existent register)
Dump pages at beginning of user mode emulation
Do not chain compiled TBs so that "exec" and "cpu" show complete traces
Configure like this :
Run like this :
qemu -trace events=/tmp/events ... # your normal QEMU invocation