Re: WinXP virtual crashes on 0.12.1.2 but not 0.12.1.1

Avi Kivity
2010-01-25T16:22:09Z

On 01/25/2010 06:18 PM, Mark Cave-Ayland wrote:
> Avi Kivity wrote:
>
>>> I've had a quick look at this, and I can't work out how to enable
>>> kvm trace in Kconfig. Is there any documentation on how to build
>>> with kvm trace enabled for debugging?
>>
>> CONFIG_FTRACE, CONFIG_TRACEPOINTS should be sufficient, I think.
>> 2.6.32 or later IIRC.
>
> Hmmm these already look as if they have been enabled. Does the output
> go to syslog or does it appear on a device somewhere in /proc?
>

echo kvm > /sys/kernel/debug/tracing/set_event
(you can also enable just the msr and cpuid events, see
/sys/kernel/debug/tracing/events)

cat /sys/kernel/debug/trace

--
error compiling committee.c: too many arguments to function