I am trying to use Intel-PT feature inside a guest ubuntu using QEMU/KVM, but although I have this feature in the host, KVM is not passing this feature to the guest.
Also when I try to load kvm_intel module in host with pt_mode=1 it doesn't work:
$ sudo modprobe -r kvm_intel kvm
$ sudo modprobe kvm_intel pt_mode=1
$ sudo modprobe kvm
$ cat /sys/module/kvm_intel/parameters/pt_mode
0
I've tried lots of different kernel versions but still I have the problem.