Re: [Qemu-devel] [PATCH V3 0/4] Add vPMU vPMU support under TCG mode

2017-02-10 Thread Wei Huang
On 02/10/2017 09:11 AM, Peter Maydell wrote: > On 10 February 2017 at 15:00, Peter Maydell wrote: >> On 7 February 2017 at 21:49, Wei Huang wrote: >>> QEMU has implemented cycle count support for guest VM under TCG mode. >>> But this feature is not complete. In fact using perf inside a >>> 64-b

Re: [Qemu-devel] [PATCH V3 0/4] Add vPMU vPMU support under TCG mode

2017-02-10 Thread Peter Maydell
On 10 February 2017 at 15:00, Peter Maydell wrote: > On 7 February 2017 at 21:49, Wei Huang wrote: >> QEMU has implemented cycle count support for guest VM under TCG mode. >> But this feature is not complete. In fact using perf inside a >> 64-bit Linux guest VM (under TCG) can cause the following

Re: [Qemu-devel] [PATCH V3 0/4] Add vPMU vPMU support under TCG mode

2017-02-10 Thread Peter Maydell
On 7 February 2017 at 21:49, Wei Huang wrote: > QEMU has implemented cycle count support for guest VM under TCG mode. > But this feature is not complete. In fact using perf inside a > 64-bit Linux guest VM (under TCG) can cause the following kernel panic > because some PMU registers are not implem

[Qemu-devel] [PATCH V3 0/4] Add vPMU vPMU support under TCG mode

2017-02-07 Thread Wei Huang
QEMU has implemented cycle count support for guest VM under TCG mode. But this feature is not complete. In fact using perf inside a 64-bit Linux guest VM (under TCG) can cause the following kernel panic because some PMU registers are not implemented. [ 329.445970] [] armv8pmu_enable_event+0x58/0x