Comment 1 for bug 1391942

Revision history for this message
Stefan Hajnoczi (stefanha) wrote : Re: [Qemu-devel] [Bug 1391942] [NEW] Unnecessary events option of the trace argument with UST backend

On Wed, Nov 12, 2014 at 04:01:38PM -0000, Francis Deslauriers wrote:
> When running configure with the --enable-trace-backends=ust option and compiling.
> The user should not have to specify a the "events" and "file" options because they are not used with that tracing framework.
>
> Right now, in order the use this option the need to specify a dummy
> events file.
>
> This fails:
> $> qemu-system-x86_64 -hda debian_wheezy_amd64_standard.qcow2 -trace -m 512
> qemu-system-x86_64: -trace -m: Invalid parameter '-m'
>
> This works:
> $> qemu-system-x86_64 -hda debian_wheezy_amd64_standard.qcow2 -trace events=dummy-events.txt -m 512
> VNC server running on `127.0.0.1:5900'
>
> I am using version:
> $> qemu-system-x86_64 --version
> QEMU emulator version 2.1.90, Copyright (c) 2003-2008 Fabrice Bellard

What happens when you pass no -trace option?

Stefan