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

Re: [Xen-devel] help finding privcmd hypercall handler



________________________________________
From: Ian Campbell [Ian.Campbell@xxxxxxxxxx]
Sent: 13 April 2012 13:34
To: Francisco Rocha
Cc: xen-devel@xxxxxxxxxxxxx
Subject: Re: [Xen-devel] help finding privcmd hypercall handler

On Fri, 2012-04-13 at 12:47 +0100, Francisco Rocha wrote:
> Hi everyone,
>
> I am having some trouble finding the hypercall responsible
> for handling calls to privcmd operations by a user-level applcation.
> Can anyone give me a pointer?

The is no "privcmd hypercall handler". One of the members of the
argument struct to IOCTL_PRIVCMD_HYPERCALL is the hypercall number
("op") to call, e.g. __HYPERVISOR_*. The pricvmd driver will make this
hypercall on behalf of userspace and it enters at the usual hypercall
entry point.

Ian.

I was a bit confused because I was focusing on Xen code.
I have been exploring the Linux kernel code and I think now I understand it.

Thank you Ian,
Francisco

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.