Generating Log of Guest Physical Addresses from a Kernel Function and Perform Analysis at Runtime

Greg KH greg at kroah.com
Wed Sep 25 13:08:14 EDT 2019


On Wed, Sep 25, 2019 at 10:21:18AM -0400, Ruben Safir wrote:
> On 9/25/19 5:38 AM, Greg KH wrote:
> > On Wed, Sep 25, 2019 at 04:00:08PM +0900, Sahibzada Irfanullah wrote:
> >> I am sorry if I am bothering you.
> >> I have read this article
> >> <http://amsekharkernel.blogspot.com/2012/01/what-are-ways-of-communication-bw-user.html>,
> >> I have to ask that will Netlink socket work for my task; Storing the
> >> contents of "gpa" variable (which is present in the
> >> handle_ept_violation()functino in vmx.c ) into a file.
> > 
> > Try using ftrace and tracing in general first, before messing around
> > with netlink.  ftrace does not require any kernel changes at all, why
> > would you _not_ want to try that?  :)
> 
> The kernel has GPS data in it?

Of course it does, why wouldn't it? :)



More information about the Kernelnewbies mailing list