trace: Add trace file name command-line option
commitab6540d55e8d57609c1e0c18b40269b05e231ce7
authorPrerna Saxena <prerna@linux.vnet.ibm.com>
Mon, 9 Aug 2010 10:48:32 +0000 (9 11:48 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 9 Sep 2010 21:22:44 +0000 (9 16:22 -0500)
tree7e761d38b442099464d8ea2c2b82d7e25274db2e
parentc5ceb523fa6fc168d3f51e306fee3def458e047e
trace: Add trace file name command-line option

This patch adds an optional command line switch '-trace' to specify the
filename to write traces to, when qemu starts.
Eg, If compiled with the 'simple' trace backend,
[temp@system]$ qemu -trace FILENAME IMAGE
Allows the binary traces to be written to FILENAME instead of the option
set at config-time.

Signed-off-by: Prerna Saxena <prerna@linux.vnet.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
qemu-config.c
qemu-options.hx
vl.c