Re: [PATCH v10 05/12] perf/x86/intel/pt: Introduce a new function to get capability of Intel PT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux