Luwei Kang <luwei.kang@xxxxxxxxx> writes: > New function pt_cap_decode() will be invoked in KVM to check > if a specific capability is available in KVM guest. > Another function pt_cap_get() can only check the hardware > capabilities but this may different with KVM guest because > some features may not be exposed to guest. I would word it more like this: "This patch adds a function to query PT capabilities from a cached PT CPUID leaf. This is useful for KVM that maintains its own modified copy of this leaf, that only contains capabilities that it wants to expose to the guest." Also, is there any reason why this and 02/12 are separate patches? Regards, -- Alex