qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Re: [PATCH 00/14] trace: Add static tracing to QEMU


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] Re: [PATCH 00/14] trace: Add static tracing to QEMU
Date: Mon, 6 Sep 2010 14:32:34 +0100

On Sun, Sep 5, 2010 at 8:30 AM, Michael S. Tsirkin <address@hidden> wrote:
> On Thu, Aug 12, 2010 at 11:36:21AM +0100, Stefan Hajnoczi wrote:
>> 2. The built-in 'simple' trace backend writes binary traces to
>>    /tmp/trace-<pid>.
>
> Saving files with predictable names in /tmp is usually not a good idea,
> see e.g. http://en.wikipedia.org/wiki/Symlink_race.
> Put them in $HOME or something like that.

Let's default to the current working directory (which it already does
on Windows).  If QEMU is run as a daemon or in another environment
where this doesn't make sense, then it needs to be configured
appropriately:
$ ./configure --trace-file=/var/qemu/trace

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]